diff --git a/src/osd/osddbus.cpp b/src/osd/osddbus.cpp index 5ecb90958..0605c0696 100644 --- a/src/osd/osddbus.cpp +++ b/src/osd/osddbus.cpp @@ -181,7 +181,7 @@ void OSDDBus::CallFinished(QDBusPendingCallWatcher *watcher) { std::unique_ptr w(watcher); - QDBusPendingReply reply = *w.get(); + QDBusPendingReply reply = *w; if (reply.isError()) { qLog(Warning) << "Error sending notification" << reply.error().name(); return;