diff --git a/plugins/runcommand/runcommand_config.cpp b/plugins/runcommand/runcommand_config.cpp index 722fa941c..6686d241c 100644 --- a/plugins/runcommand/runcommand_config.cpp +++ b/plugins/runcommand/runcommand_config.cpp @@ -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();