diff options
author | Liang Qi <liang.qi@qt.io> | 2017-10-06 19:21:12 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-10-06 19:21:24 +0200 |
commit | 6ae3debbc983927fc74c8ee29cfccfc8bf02c646 (patch) | |
tree | 684955962cc22160ed38fa0047229fab98f9184a | |
parent | 7eeed53c8f5403615974538100d72dc6d3bbfe6c (diff) | |
parent | 143b721249af92fc27f48fb01914195516f7a087 (diff) |
Merge remote-tracking branch 'origin/5.9.2' into 5.9
Change-Id: I8d6bb938f7ad06fa97898f4242af76cb48efbfc5
-rw-r--r-- | dist/changes-5.9.2 | 39 | ||||
-rw-r--r-- | src/input/frontend/qmousehandler.cpp | 2 | ||||
-rw-r--r-- | src/input/frontend/qmousehandler_p.h | 2 |
3 files changed, 41 insertions, 2 deletions
diff --git a/dist/changes-5.9.2 b/dist/changes-5.9.2 new file mode 100644 index 000000000..d8e1cb493 --- /dev/null +++ b/dist/changes-5.9.2 @@ -0,0 +1,39 @@ +Qt 5.9.2 is a bug-fix release. It maintains both forward and backward +compatibility (source and binary) with Qt 5.9.0. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +http://doc.qt.io/qt-5/index.html + +The Qt version 5.9 series is binary compatible with the 5.8.x series. +Applications compiled for 5.8 will continue to run with 5.9. + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* Qt 5.9.2 Changes * +**************************************************************************** + +- Don't crash when removing clip animators +- Case-insensitive matching of DDS/PKM files [QTBUG-61760] +- Fix crash when using a single key frame +- Fix rendering glitches with 2D text +- Respect render target selector when reading pixel data back [QTBUG-61547] +- Fix memory leaks when loading multiple scenes with assimp [QTBUG-61856] +- Fix updates of some render states +- Fix sorting of render commands [QTBUG-60183] +- Fix assert crash when updating 3D content of a Scene3D item [QTBUG-60613] +- Fix crash when loading multiple assimp scenes +- Fix shader compilation on Rasp-Pi [QTBUG-59349] +- Don't deref null VAOs [QTBUG-59349] +- Respect byteStride in QAttribute +- Don't crash when rapidly changing textures +- Ignore ill-formed faces in OBJ files +- Many performance and memory use reduction changes diff --git a/src/input/frontend/qmousehandler.cpp b/src/input/frontend/qmousehandler.cpp index 9f30810a9..895cbc49a 100644 --- a/src/input/frontend/qmousehandler.cpp +++ b/src/input/frontend/qmousehandler.cpp @@ -60,7 +60,7 @@ QMouseHandlerPrivate::QMouseHandlerPrivate() m_shareable = false; m_pressAndHoldTimer->setSingleShot(true); m_pressAndHoldTimer->setInterval(500); - QObject::connect(m_pressAndHoldTimer.data(), &QTimer::timeout, [this] { + QObject::connect(m_pressAndHoldTimer, &QTimer::timeout, [this] { emit q_func()->pressAndHold(m_lastPressedEvent.data()); }); } diff --git a/src/input/frontend/qmousehandler_p.h b/src/input/frontend/qmousehandler_p.h index 3b2f2284d..6c7f8b204 100644 --- a/src/input/frontend/qmousehandler_p.h +++ b/src/input/frontend/qmousehandler_p.h @@ -74,7 +74,7 @@ public: QMouseDevice *m_mouseDevice; bool m_containsMouse; - QScopedPointer<QTimer> m_pressAndHoldTimer; + QTimer *m_pressAndHoldTimer = nullptr; QMouseEventPtr m_lastPressedEvent; void mouseEvent(const QMouseEventPtr &event); |