summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.vuorela@jollamobile.com>2018-01-30 11:23:08 +0200
committerLorn Potter <lorn.potter@gmail.com>2018-02-20 20:43:40 +0000
commit3548af39045de2f8be1be9f42b0e0a064eb71d9c (patch)
tree85a979675d5e7e52920e2e6ca3ad9bd66a08db37
parent00f693d3e5046999270c92731e34a3e7fcd01c6b (diff)
Fix expected signature from Connman Scan method
Resulted in errors on app startup: Unexpected reply signature: got \"\", expected \"a{sv}\" Connman technology interface documents Scan as void, results gotten with other api. Change-Id: I6f2961685af7e1ef0559e1b6d89245231404899c Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
-rw-r--r--src/plugins/bearer/connman/qconnmanservice_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bearer/connman/qconnmanservice_linux.cpp b/src/plugins/bearer/connman/qconnmanservice_linux.cpp
index 55eec57270..1f02ba948e 100644
--- a/src/plugins/bearer/connman/qconnmanservice_linux.cpp
+++ b/src/plugins/bearer/connman/qconnmanservice_linux.cpp
@@ -506,7 +506,7 @@ void QConnmanTechnologyInterface::scan()
void QConnmanTechnologyInterface::scanReply(QDBusPendingCallWatcher *call)
{
- QDBusPendingReply<QVariantMap> props_reply = *call;
+ QDBusPendingReply<void> props_reply = *call;
if (props_reply.isError()) {
qDebug() << props_reply.error().message();
}