OSDDBus: Set timeout

This commit is contained in:
Jonas Kvinge 2022-07-31 03:28:13 +02:00
parent 2b781df32b
commit 72ff502e0f
1 changed files with 2 additions and 0 deletions

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()) {