[Service] Restore /dev/null usage

Accidentally removed it for testing but since I don't know why this is for,
better restore it :)
This commit is contained in:
Kai Uwe Broulik 2017-08-25 11:25:20 +02:00
parent 5137a988b1
commit 2236c19584

View File

@ -173,7 +173,7 @@ void Service::setOperationsScheme(QIODevice *xml)
// KSharedConfig. We need a config object for the config loader even
// though we dont' actually want to use any config parts from it,
// we just want to share the KConfigLoader XML parsing.
KSharedConfigPtr config = KSharedConfig::openConfig(QString(), KConfig::SimpleConfig);
KSharedConfigPtr config = KSharedConfig::openConfig(QStringLiteral("/dev/null"), KConfig::SimpleConfig);
KConfigLoader loader(config, xml);
foreach (const QString &group, loader.groupList()) {