From e23f57ef9e05e7801e19533576aeb4c6971c4d72 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 16 Sep 2012 22:31:57 +0200 Subject: [PATCH] Port KGlobal::mainComponent() to KComponentData::mainComponent() except in klibrary/kpluginloader, where I just removed the now-useless argument. --- private/applet_p.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/applet_p.cpp b/private/applet_p.cpp index 9db198420..c89cfce06 100644 --- a/private/applet_p.cpp +++ b/private/applet_p.cpp @@ -566,7 +566,7 @@ QString AppletPrivate::parentAppConstraint(const QString &parentApp) { if (parentApp.isEmpty()) { return QString("((not exist [X-KDE-ParentApp] or [X-KDE-ParentApp] == '') or [X-KDE-ParentApp] == '%1')") - .arg(KGlobal::mainComponent().aboutData()->appName()); + .arg(KComponentData::mainComponent().aboutData()->appName()); } return QString("[X-KDE-ParentApp] == '%1'").arg(parentApp);