aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-07-06 20:25:45 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-07-06 20:25:45 +0200
commit3b2c865566aea43ab21afadcd34f58db0a5d5ab8 (patch)
tree93bff1a9de7fe65e948385f261e3d020e29927ae /src
parentd0d6402c46b3fc074002849f4e8071407d06df4f (diff)
downloadRWA.Support.DesktopApp-3b2c865566aea43ab21afadcd34f58db0a5d5ab8.tar.gz
RWA.Support.DesktopApp-3b2c865566aea43ab21afadcd34f58db0a5d5ab8.tar.bz2
RWA.Support.DesktopApp-3b2c865566aea43ab21afadcd34f58db0a5d5ab8.zip
DBusAPI: Change critical error to qCritical instead of qDebug.
Diffstat (limited to 'src')
-rw-r--r--src/DBusAPI.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/DBusAPI.cpp b/src/DBusAPI.cpp
index c133910..7f14e4f 100644
--- a/src/DBusAPI.cpp
+++ b/src/DBusAPI.cpp
@@ -77,8 +77,8 @@ void DBusAPI::start_reply(QDBusPendingCallWatcher *call) {
QString result = "";
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'start' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'start' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceStartResponse(nullptr);
return;
@@ -135,8 +135,8 @@ void DBusAPI::stop_reply(QDBusPendingCallWatcher *call) {
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'stop' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'stop' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceStopResponse(nullptr);
} else {
@@ -218,8 +218,8 @@ void DBusAPI::status_reply(QDBusPendingCallWatcher *call){
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus '(refresh_)status' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus '(refresh_)status' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceStatusResponse(nullptr);
return;
@@ -300,8 +300,8 @@ void DBusAPI::get_web_app_hosts_reply(QDBusPendingCallWatcher *call){
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'get_web_app_hosts' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'get_web_app_hosts' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceGetWebAppHostsResponse(nullptr);
return;
@@ -329,8 +329,8 @@ void DBusAPI::add_web_app_host_reply(QDBusPendingCallWatcher *call){
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'add_web_app_host' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'add_web_app_host' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceAddWebAppHostResponse(nullptr);
return;
@@ -358,8 +358,8 @@ void DBusAPI::remove_web_app_host_reply(QDBusPendingCallWatcher *call){
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'remove_web_app_host' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'remove_web_app_host' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceRemoveWebAppHostResponse(nullptr);
return;