Treat dbus errors are warnings rather than debug information

Hopefully it will make it easier to pick up at some point.
This commit is contained in:
Aleix Pol 2015-03-14 02:42:18 +01:00
parent 5d1750b716
commit 7d6cf97551

View file

@ -102,7 +102,7 @@ void DevicesModel::refreshDeviceList()
{
if (!m_dbusInterface->isValid()) {
clearDevices();
qCDebug(KDECONNECT_INTERFACES) << "dbus interface not valid";
qCWarning(KDECONNECT_INTERFACES) << "dbus interface not valid";
return;
}
@ -121,7 +121,7 @@ void DevicesModel::receivedDeviceList(QDBusPendingCallWatcher* watcher)
clearDevices();
QDBusPendingReply<QStringList> pendingDeviceIds = *watcher;
if (pendingDeviceIds.isError()) {
qCDebug(KDECONNECT_INTERFACES) << pendingDeviceIds.error();
qCWarning(KDECONNECT_INTERFACES) << "error while refreshing device list" << pendingDeviceIds.error().message();
return;
}