From 3b7fe5f2e66a09964f597a1be6adc91e564caf7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Wed, 8 Jan 2014 13:17:19 +0100 Subject: [PATCH] K_GLOBAL_STATIC => Q_GLOBAL_STATIC One less use of kde4support --- src/declarativeimports/core/CMakeLists.txt | 1 - src/declarativeimports/core/dialogshadows.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/declarativeimports/core/CMakeLists.txt b/src/declarativeimports/core/CMakeLists.txt index 99c85bae7..71f2cb351 100644 --- a/src/declarativeimports/core/CMakeLists.txt +++ b/src/declarativeimports/core/CMakeLists.txt @@ -35,7 +35,6 @@ target_link_libraries(corebindingsplugin KF5::Declarative KF5::CoreAddons KF5::IconThemes - KF5::KDE4Support #for kglobal.h KF5::Service #for kplugininfo.h KF5::WindowSystem KF5::Plasma) diff --git a/src/declarativeimports/core/dialogshadows.cpp b/src/declarativeimports/core/dialogshadows.cpp index 993272b12..5a0ee8257 100644 --- a/src/declarativeimports/core/dialogshadows.cpp +++ b/src/declarativeimports/core/dialogshadows.cpp @@ -18,6 +18,7 @@ #include "dialogshadows_p.h" +#include #include #include @@ -30,7 +31,6 @@ #endif #include -#include class DialogShadows::Private { @@ -94,7 +94,7 @@ public: DialogShadows self; }; -K_GLOBAL_STATIC(DialogShadowsSingleton, privateDialogShadowsSelf) +Q_GLOBAL_STATIC(DialogShadowsSingleton, privateDialogShadowsSelf) DialogShadows::DialogShadows(QObject *parent, const QString &prefix) : Plasma::Svg(parent),