From 71f8357e0042e147d80caf68202a9b147a63464f Mon Sep 17 00:00:00 2001 From: Kiril Vladimiroff Date: Fri, 17 Mar 2017 12:25:47 +0100 Subject: [PATCH] Use compact format when saving runcommand commands REVIEW: 130018 --- plugins/runcommand/runcommand_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();