[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:
parent
5137a988b1
commit
2236c19584
@ -173,7 +173,7 @@ void Service::setOperationsScheme(QIODevice *xml)
|
|||||||
// KSharedConfig. We need a config object for the config loader even
|
// KSharedConfig. We need a config object for the config loader even
|
||||||
// though we dont' actually want to use any config parts from it,
|
// though we dont' actually want to use any config parts from it,
|
||||||
// we just want to share the KConfigLoader XML parsing.
|
// 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);
|
KConfigLoader loader(config, xml);
|
||||||
|
|
||||||
foreach (const QString &group, loader.groupList()) {
|
foreach (const QString &group, loader.groupList()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user