aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlpropertymap
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-07-27 11:33:47 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-30 04:23:45 +0200
commitd4919102b0794899f0e3067a95ae91b280e5115d (patch)
treecae5fc3e5b22e3cac5e6c92593b7c2e80e48dc59 /tests/auto/qml/qqmlpropertymap
parent9a8f869ef0c5a7cbd7b7b77cdbdff213176cf8d7 (diff)
Remove default parameter from protected QmlPropertyMap CT.
Make public constructor explicit. This fixes QtLocation compilation (declarativeplaces defaulted to the protected CT). Change-Id: I8b32d7624b6ba770f6d646c227a0bfd37e501ee5 Reviewed-by: Glenn Watson <glenn.watson@nokia.com>
Diffstat (limited to 'tests/auto/qml/qqmlpropertymap')
-rw-r--r--tests/auto/qml/qqmlpropertymap/tst_qqmlpropertymap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlpropertymap/tst_qqmlpropertymap.cpp b/tests/auto/qml/qqmlpropertymap/tst_qqmlpropertymap.cpp
index 3fd9dbec8f..eb3c000c81 100644
--- a/tests/auto/qml/qqmlpropertymap/tst_qqmlpropertymap.cpp
+++ b/tests/auto/qml/qqmlpropertymap/tst_qqmlpropertymap.cpp
@@ -285,7 +285,7 @@ class MyEnhancedPropertyMap : public QQmlPropertyMap
{
Q_OBJECT
public:
- MyEnhancedPropertyMap() : QQmlPropertyMap(this) {}
+ MyEnhancedPropertyMap() : QQmlPropertyMap(this, 0) {}
signals:
void testSignal();