mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Optimize async dbus calls without expected reply
This commit is contained in:
committed by
Klaus Basan
parent
84bb363990
commit
849124fe7c
@@ -69,7 +69,7 @@ namespace BlackMisc
|
||||
void callDBus(QLatin1String method, Args &&... args)
|
||||
{
|
||||
const QList<QVariant> argumentList { QVariant::fromValue(std::forward<Args>(args))... };
|
||||
this->asyncCallWithArgumentList(method, argumentList);
|
||||
this->callWithArgumentList(QDBus::NoBlock, method, argumentList);
|
||||
}
|
||||
|
||||
//! Call DBus with synchronous return value
|
||||
|
||||
Reference in New Issue
Block a user