diff options
Diffstat (limited to 'examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp')
-rw-r--r-- | examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp b/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp index 6bc8335..2580a72 100644 --- a/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp +++ b/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp @@ -144,7 +144,7 @@ void InstrumentClusterBackend::fetchFuel() auto reply = m_client->asyncCall("fuel"); auto watcher = new QDBusPendingCallWatcher(reply, this); connect(watcher, &QDBusPendingCallWatcher::finished, this, [this](QDBusPendingCallWatcher *watcher) { - QDBusPendingReply<int> reply = *watcher; + QDBusPendingReply<qreal> reply = *watcher; if (reply.isError()) { qCritical() << reply.error(); } else { |