diff options
| author | Ahmad Samir <[email protected]> | 2022-06-11 19:16:13 +0200 |
|---|---|---|
| committer | Ahmad Samir <[email protected]> | 2022-06-15 11:28:42 +0200 |
| commit | 28a74d178071c89dbdc53a193c1db68e0d10ddcb (patch) | |
| tree | 5fca06ac39652546c0eb3b289c65fbc1903626d0 /src/dolphinviewcontainer.h | |
| parent | 8a0003bfbcc87068737ab1e2b94ae7b2ba73eca1 (diff) | |
Use cmakedefine01
This way we get a build time warning if the var isn't defined at all, e.g.
a missing check_include_files() CMake call.
Diffstat (limited to 'src/dolphinviewcontainer.h')
| -rw-r--r-- | src/dolphinviewcontainer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index a7767ab3f..057e47149 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -19,7 +19,7 @@ #include <QPushButton> #include <QWidget> -#ifdef HAVE_KACTIVITIES +#if HAVE_KACTIVITIES namespace KActivities { class ResourceInstance; } @@ -428,7 +428,7 @@ private: */ std::unique_ptr<DolphinUrlNavigator::VisualState> m_urlNavigatorVisualState; -#ifdef HAVE_KACTIVITIES +#if HAVE_KACTIVITIES private: KActivities::ResourceInstance * m_activityResourceInstance; #endif |
