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"