From 04a6fbc4c412ce997142055291013d1d3f5fab3c Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 17 Nov 2020 11:42:27 +0100 Subject: [PATCH] [plasmalnf] Fix debug-logging - ProcessResult isn't loggable, so operator bool() is called, so it logged 'false' on failure which isn't helpful. --- src/modules/plasmalnf/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/plasmalnf/Config.cpp b/src/modules/plasmalnf/Config.cpp index 123adecdb..e418e885b 100644 --- a/src/modules/plasmalnf/Config.cpp +++ b/src/modules/plasmalnf/Config.cpp @@ -150,7 +150,7 @@ Config::setTheme( const QString& id ) if ( r.getExitCode() ) { - cWarning() << r.explainProcess( command, std::chrono::seconds( 10 ) ); + cWarning() << "Failed (" << r.getExitCode() << ')'; } else {