Fix error message.

It was incorrectly saying DBus session bus instead of system bus.
This commit is contained in:
Andrius Štikonas 2018-07-14 21:36:13 +01:00
parent 252b108660
commit 65ef6ab83d
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}

View File

@ -15,8 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/
#if !defined(KPMCORE_GLOBALLOG_H)
#ifndef KPMCORE_GLOBALLOG_H
#define KPMCORE_GLOBALLOG_H
#include "util/libpartitionmanagerexport.h"