diff options
Diffstat (limited to 'tests/auto/quick/qquicklistview/tst_qquicklistview.cpp')
-rw-r--r-- | tests/auto/quick/qquicklistview/tst_qquicklistview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp b/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp index c2bcd54c48..7c166c5795 100644 --- a/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp +++ b/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp @@ -259,7 +259,7 @@ private: } #endif - static void errorMsgHandler(QtMsgType, const char *) + static void errorMsgHandler(QtMsgType, const QMessageLogContext &, const QString &) { ++m_errorCount; } @@ -6784,7 +6784,7 @@ void tst_QQuickListView::parentBinding() QQuickView *window = createView(); m_errorCount = 0; - QtMsgHandler old = qInstallMsgHandler(errorMsgHandler); + QtMessageHandler old = qInstallMessageHandler(errorMsgHandler); window->setSource(testFileUrl("parentBinding.qml")); window->show(); @@ -6805,7 +6805,7 @@ void tst_QQuickListView::parentBinding() // there should be no transient binding error QVERIFY(!m_errorCount); - qInstallMsgHandler(old); + qInstallMessageHandler(old); delete window; } |