From 28a74d178071c89dbdc53a193c1db68e0d10ddcb Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sat, 11 Jun 2022 19:16:13 +0200 Subject: 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. --- src/kitemviews/kfileitemmodelrolesupdater.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kitemviews/kfileitemmodelrolesupdater.h') diff --git a/src/kitemviews/kfileitemmodelrolesupdater.h b/src/kitemviews/kfileitemmodelrolesupdater.h index a16ee1a86..a8261c987 100644 --- a/src/kitemviews/kfileitemmodelrolesupdater.h +++ b/src/kitemviews/kfileitemmodelrolesupdater.h @@ -30,7 +30,7 @@ namespace KIO { class PreviewJob; } -#ifdef HAVE_BALOO +#if HAVE_BALOO namespace Baloo { class FileMonitor; @@ -416,7 +416,7 @@ private: QList m_overlayIconsPlugin; -#ifdef HAVE_BALOO +#if HAVE_BALOO Baloo::FileMonitor* m_balooFileMonitor; Baloo::IndexerConfig m_balooConfig; #endif -- cgit v1.3.1