mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-07 05:42:52 +01:00
OSDDBus: Set timeout
This commit is contained in:
parent
2b781df32b
commit
72ff502e0f
@ -127,6 +127,8 @@ void OSDDBus::Init() {
|
|||||||
qLog(Warning) << "Error connecting to notifications service.";
|
qLog(Warning) << "Error connecting to notifications service.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface_->setTimeout(1000);
|
||||||
|
|
||||||
QString vendor, version, spec_version;
|
QString vendor, version, spec_version;
|
||||||
QDBusReply<QString> reply = interface_->GetServerInformation(vendor, version, spec_version);
|
QDBusReply<QString> reply = interface_->GetServerInformation(vendor, version, spec_version);
|
||||||
if (reply.isValid()) {
|
if (reply.isValid()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user