From 97ec41652f6eadb341eab8f7936cf7f8b5252677 Mon Sep 17 00:00:00 2001 From: Paolo Angelelli Date: Tue, 27 Aug 2019 13:37:39 +0200 Subject: 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 --- tests/auto/positionplugin/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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(); -- cgit v1.2.3