K_GLOBAL_STATIC => Q_GLOBAL_STATIC
One less use of kde4support
This commit is contained in:
parent
9fcb20fcd1
commit
3b7fe5f2e6
@ -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)
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
#include "dialogshadows_p.h"
|
||||
|
||||
#include <QGlobalStatic>
|
||||
#include <QWindow>
|
||||
#include <QPainter>
|
||||
|
||||
@ -30,7 +31,6 @@
|
||||
#endif
|
||||
|
||||
#include <qdebug.h>
|
||||
#include <kglobal.h>
|
||||
|
||||
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),
|
||||
|
Loading…
Reference in New Issue
Block a user