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/settings/viewpropertiesdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/settings/viewpropertiesdialog.cpp') diff --git a/src/settings/viewpropertiesdialog.cpp b/src/settings/viewpropertiesdialog.cpp index 318c2e1cf..6e3cc81ab 100644 --- a/src/settings/viewpropertiesdialog.cpp +++ b/src/settings/viewpropertiesdialog.cpp @@ -19,7 +19,7 @@ #include #include -#ifdef HAVE_BALOO +#if HAVE_BALOO #include #endif @@ -108,7 +108,7 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : // Add checkboxes bool indexingEnabled = false; -#ifdef HAVE_BALOO +#if HAVE_BALOO Baloo::IndexerConfig config; indexingEnabled = config.fileIndexingEnabled(); #endif -- cgit v1.3