aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/testtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/testtypes.h')
-rw-r--r--tests/auto/qml/qqmlecmascript/testtypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlecmascript/testtypes.h b/tests/auto/qml/qqmlecmascript/testtypes.h
index da2a9ba130..dead289b15 100644
--- a/tests/auto/qml/qqmlecmascript/testtypes.h
+++ b/tests/auto/qml/qqmlecmascript/testtypes.h
@@ -1744,8 +1744,8 @@ public:
QString funcCalled;
public slots:
QPersistentModelIndex getIndex() const { return QPersistentModelIndex(QModelIndex()); }
- void selection(const QModelIndex &mi, int n = 0) { funcCalled = QLatin1String("QModelIndex"); }
- void selection(const QItemSelection &is, int n = 0) { funcCalled = QLatin1String("QItemSelection"); }
+ void selection(const QModelIndex &, int = 0) { funcCalled = QLatin1String("QModelIndex"); }
+ void selection(const QItemSelection &, int = 0) { funcCalled = QLatin1String("QItemSelection"); }
};
struct ClassWithQProperty2 : public QObject