Use compact format when saving runcommand commands

REVIEW: 130018
This commit is contained in:
Kiril Vladimiroff 2017-03-17 12:25:47 +01:00 committed by Albert Vaca
parent 9af480163d
commit 71f8357e00

View file

@ -114,7 +114,7 @@ void RunCommandConfig::save()
}
QJsonDocument document;
document.setObject(jsonConfig);
config()->set(QStringLiteral("commands"), document.toJson());
config()->set(QStringLiteral("commands"), document.toJson(QJsonDocument::Compact));
KCModule::save();