OSDDBus: Set timeout
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user