1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-05 12:56:52 +01:00

OSDDBus: Set timeout

This commit is contained in:
Jonas Kvinge 2022-07-31 03:28:13 +02:00
parent 2b781df32b
commit 72ff502e0f

View File

@ -127,6 +127,8 @@ void OSDDBus::Init() {
qLog(Warning) << "Error connecting to notifications service.";
}
interface_->setTimeout(1000);
QString vendor, version, spec_version;
QDBusReply<QString> reply = interface_->GetServerInformation(vendor, version, spec_version);
if (reply.isValid()) {