From 72ff502e0f70b0db75858ef7cf414eed189d075e Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 31 Jul 2022 03:28:13 +0200 Subject: [PATCH] OSDDBus: Set timeout --- src/osd/osddbus.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osd/osddbus.cpp b/src/osd/osddbus.cpp index 8d93b11a2..38fe8619f 100644 --- a/src/osd/osddbus.cpp +++ b/src/osd/osddbus.cpp @@ -127,6 +127,8 @@ void OSDDBus::Init() { qLog(Warning) << "Error connecting to notifications service."; } + interface_->setTimeout(1000); + QString vendor, version, spec_version; QDBusReply reply = interface_->GetServerInformation(vendor, version, spec_version); if (reply.isValid()) {