diff options
| author | Neil <nyamatongwe@gmail.com> | 2014-12-03 10:59:20 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2014-12-03 10:59:20 +1100 |
| commit | a429dad58335445fd02ed0b576e7514e3f23998d (patch) | |
| tree | 3b4ff1a54d931efd7adbf627adfcad5057e85633 | |
| parent | 1c6e83f6bb2f1161b53d2f08ddafb44c5fbe4ffc (diff) | |
| download | scintilla-mirror-a429dad58335445fd02ed0b576e7514e3f23998d.tar.gz | |
Qt >= 5.3 has reverted to the 4.x handling of double click events. Undoes
change set [6b9cc8].
| -rw-r--r-- | qt/ScintillaEditBase/ScintillaEditBase.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/qt/ScintillaEditBase/ScintillaEditBase.cpp b/qt/ScintillaEditBase/ScintillaEditBase.cpp index 7748ae0dc..288d30dea 100644 --- a/qt/ScintillaEditBase/ScintillaEditBase.cpp +++ b/qt/ScintillaEditBase/ScintillaEditBase.cpp @@ -310,17 +310,11 @@ void ScintillaEditBase::mouseReleaseEvent(QMouseEvent *event) emit buttonReleased(event); } -#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) void ScintillaEditBase::mouseDoubleClickEvent(QMouseEvent *event) { // Scintilla does its own double-click detection. mousePressEvent(event); } -#else -void ScintillaEditBase::mouseDoubleClickEvent(QMouseEvent *) -{ -} -#endif void ScintillaEditBase::mouseMoveEvent(QMouseEvent *event) { |
