diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-03-08 08:40:48 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-03-13 10:11:16 +0000 |
commit | 1d2b476320b8ba579587455bbd34b1ef485711e1 (patch) | |
tree | 75409b2a249e4691c671b75410f0636b388394ed /src/plugins/bineditor/bineditorwidget.h | |
parent | 0bcc983cdbb74baebccfdb09f7d2ffb22ebf950d (diff) |
BinEditor: Do now show tool tip if mouse is not over data
Task-number: QTCREATORBUG-17573
Change-Id: Ida0497006e702dfafe70f434373088325bbc6db7
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/bineditor/bineditorwidget.h')
-rw-r--r-- | src/plugins/bineditor/bineditorwidget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/bineditor/bineditorwidget.h b/src/plugins/bineditor/bineditorwidget.h index 6794a77d387..ce02c937932 100644 --- a/src/plugins/bineditor/bineditorwidget.h +++ b/src/plugins/bineditor/bineditorwidget.h @@ -29,6 +29,8 @@ #include "markup.h" #include "bineditorservice.h" +#include <utils/optional.h> + #include <QBasicTimer> #include <QMap> #include <QSet> @@ -210,7 +212,7 @@ private: QBasicTimer m_cursorBlinkTimer; void init(); - int posAt(const QPoint &pos) const; + Utils::optional<qint64> posAt(const QPoint &pos, bool includeEmptyArea = true) const; bool inTextArea(const QPoint &pos) const; QRect cursorRect() const; void updateLines(); |