mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-14 09:44:51 +01:00
Remove get()
This commit is contained in:
parent
ed08818b6f
commit
c1c34017e4
@ -181,7 +181,7 @@ void OSDDBus::CallFinished(QDBusPendingCallWatcher *watcher) {
|
||||
|
||||
std::unique_ptr<QDBusPendingCallWatcher> w(watcher);
|
||||
|
||||
QDBusPendingReply<uint> reply = *w.get();
|
||||
QDBusPendingReply<uint> reply = *w;
|
||||
if (reply.isError()) {
|
||||
qLog(Warning) << "Error sending notification" << reply.error().name();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user