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 | eea18a2ffbb43043b8b798f309c9be10cd866474 (patch) | |
tree | 61382003e512fea7298c307011f9e4a9254bd9d6 | |
parent | 06b26d493ccbbda85d563f9b210aeabd7c00de96 (diff) | |
download | scintilla-mirror-eea18a2ffbb43043b8b798f309c9be10cd866474.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) { |