From b7628a8d72bb04050f1e2dfdf5d9e0ed4fd5bbf0 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 5 Jun 2015 11:55:16 -0700 Subject: [PATCH] fix conditional build --- components/shellprivate/config-shellprivate.h.cmake | 3 +-- components/shellprivate/shellprivateplugin.cpp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/shellprivate/config-shellprivate.h.cmake b/components/shellprivate/config-shellprivate.h.cmake index e5c4fb5ac..f4dbf74a9 100644 --- a/components/shellprivate/config-shellprivate.h.cmake +++ b/components/shellprivate/config-shellprivate.h.cmake @@ -1,2 +1 @@ -#cmakedefine01 HAVE_KF5TEXTEDITOR - +#cmakedefine01 KF5TextEditor_FOUND diff --git a/components/shellprivate/shellprivateplugin.cpp b/components/shellprivate/shellprivateplugin.cpp index 4358e28d2..4057cc579 100644 --- a/components/shellprivate/shellprivateplugin.cpp +++ b/components/shellprivate/shellprivateplugin.cpp @@ -28,7 +28,7 @@ #include "widgetexplorer/widgetexplorer.h" #include -#if HAVE_KF5TEXTEDITOR +#if KF5TextEditor_FOUND #include "interactiveconsole/interactiveconsole.h" #endif @@ -38,7 +38,7 @@ void PlasmaShellPrivatePlugin::registerTypes(const char *uri) qmlRegisterType(); qmlRegisterType(uri, 2, 0, "WidgetExplorer"); -#if HAVE_KF5TEXTEDITOR +#if KF5TextEditor_FOUND qmlRegisterType(uri, 2, 0, "InteractiveConsoleWindow"); #endif }