Fix error message.
It was incorrectly saying DBus session bus instead of system bus.
This commit is contained in:
parent
252b108660
commit
65ef6ab83d
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue