Port KGlobal::mainComponent() to KComponentData::mainComponent()
except in klibrary/kpluginloader, where I just removed the now-useless argument.
This commit is contained in:
parent
f128824f4b
commit
e23f57ef9e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user