[Development] Qt 5.6.0 header diff: QtTest.diff

Milian Wolff milian.wolff at kdab.com
Thu Sep 17 15:27:44 CEST 2015


+++ b/src/testlib/qtestaccessible.h
@@ -126,7 +126,7 @@ public:
     static void cleanup()
     {
         delete instance();
-        instance() = 0;
+        instance() = Q_NULLPTR;
     }

this is wrong

+++ b/src/testlib/qtestmouse.h
@@ -45,6 +45,7 @@
 #include <QtTest/qtestspontaneevent.h>
 #include <QtCore/qpoint.h>
 #include <QtCore/qstring.h>
+#include <QtCore/qpointer.h>
 #include <QtGui/qevent.h>
 #include <QtGui/qwindow.h>
 
@@ -57,12 +58,15 @@
 
 QT_BEGIN_NAMESPACE
 
-Q_GUI_EXPORT void qt_handleMouseEvent(QWindow *w, const QPointF & local, 
const QPointF & global, Qt::MouseButtons b, Qt::KeyboardModifiers mods = 
Qt::NoModifier);
+Q_GUI_EXPORT void qt_handleMouseEvent(QWindow *w, const QPointF &local, const 
QPointF &global, Qt::MouseButtons b, Qt::KeyboardModifiers mods, int 
timestamp);

default arguments removed, was this on purpose?

Otherwise lgtm
-- 
Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts



More information about the Development mailing list