From 65ef6ab83d364442fa679affea249a56718b197a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sat, 14 Jul 2018 21:36:13 +0100 Subject: [PATCH] Fix error message. It was incorrectly saying DBus session bus instead of system bus. --- src/util/externalcommandhelper.cpp | 2 +- src/util/globallog.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/util/externalcommandhelper.cpp b/src/util/externalcommandhelper.cpp index e1527d4..123e300 100644 --- a/src/util/externalcommandhelper.cpp +++ b/src/util/externalcommandhelper.cpp @@ -32,7 +32,7 @@ ActionReply ExternalCommandHelper::init(const QVariantMap& args) { ActionReply reply; if (!QDBusConnection::systemBus().isConnected()) { - qWarning() << "Could not connect to DBus session bus"; + qWarning() << "Could not connect to DBus system bus"; reply.addData(QStringLiteral("success"), false); return reply; } diff --git a/src/util/globallog.h b/src/util/globallog.h index 3c1bdaf..3cb57fd 100644 --- a/src/util/globallog.h +++ b/src/util/globallog.h @@ -15,8 +15,7 @@ * along with this program. If not, see .* *************************************************************************/ -#if !defined(KPMCORE_GLOBALLOG_H) - +#ifndef KPMCORE_GLOBALLOG_H #define KPMCORE_GLOBALLOG_H #include "util/libpartitionmanagerexport.h"