summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2019-08-27 13:37:39 +0200
committerpaolo <paolo.angelelli@qt.io>2019-09-19 10:44:57 +0200
commit97ec41652f6eadb341eab8f7936cf7f8b5252677 (patch)
tree21ee710f4ed48a7f03e926186c628bde43c9dde8 /tests
parent488df52e25842a32693f2c57f4fbe3af43168a07 (diff)
Fix 5.14 positioning APIs
This patch fixes a few inconsistencies in the newely added features. Change-Id: Icdf1c9208fd0d5ab1d6ec6d87fcc5be5072c3f58 Fixes: QTBUG-77865 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/positionplugin/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/positionplugin/plugin.cpp b/tests/auto/positionplugin/plugin.cpp
index 9d5c7dd5..f28797b5 100644
--- a/tests/auto/positionplugin/plugin.cpp
+++ b/tests/auto/positionplugin/plugin.cpp
@@ -69,7 +69,7 @@ private slots:
class DummySourcePrivate : public QGeoPositionInfoSourcePrivate
{
public:
- bool setBackendProperty(const QString &name, QVariant value) override
+ bool setBackendProperty(const QString &name, const QVariant &value) override
{
if (name == QStringLiteral("altitude")) {
m_altitude = value.toReal();