From 9c313813f58cc43acf973464c338b4de56156f1f Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Thu, 30 Nov 2023 08:59:04 +0100 Subject: Fix building with activities after the kactivities -> plasma-activities rename --- src/CMakeLists.txt | 4 ++-- src/config-dolphin.h.cmake | 2 +- src/dolphinviewcontainer.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index be83cd2d0..533b5d221 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -437,10 +437,10 @@ target_link_libraries(dolphinstatic Phonon::phonon4qt6 ) -if (HAVE_KACTIVITIES) +if (HAVE_PLASMA_ACTIVITIES) target_link_libraries( dolphinstatic - KF6::Activities + Plasma::Activities ) endif() diff --git a/src/config-dolphin.h.cmake b/src/config-dolphin.h.cmake index af78c8622..797ea38c5 100644 --- a/src/config-dolphin.h.cmake +++ b/src/config-dolphin.h.cmake @@ -1,5 +1,5 @@ #cmakedefine01 HAVE_BALOO -#cmakedefine01 HAVE_KACTIVITIES +#cmakedefine01 HAVE_PLASMA_ACTIVITIES #cmakedefine01 HAVE_KUSERFEEDBACK #cmakedefine01 HAVE_PACKAGEKIT #cmakedefine01 HAVE_TERMINAL diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index f5cb459fb..a4db8b74a 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -20,8 +20,8 @@ #include "statusbar/dolphinstatusbar.h" #include -#if HAVE_KACTIVITIES -#include +#if HAVE_PLASMA_ACTIVITIES +#include #endif #include #include @@ -574,7 +574,7 @@ void DolphinViewContainer::setUrl(const QUrl &newUrl) m_urlNavigator->setLocationUrl(newUrl); } -#if HAVE_KACTIVITIES +#if HAVE_PLASMA_ACTIVITIES KActivities::ResourceInstance::notifyAccessed(newUrl); #endif } -- cgit v1.3