mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-22 13:40:28 +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);
|
std::unique_ptr<QDBusPendingCallWatcher> w(watcher);
|
||||||
|
|
||||||
QDBusPendingReply<uint> reply = *w.get();
|
QDBusPendingReply<uint> reply = *w;
|
||||||
if (reply.isError()) {
|
if (reply.isError()) {
|
||||||
qLog(Warning) << "Error sending notification" << reply.error().name();
|
qLog(Warning) << "Error sending notification" << reply.error().name();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user