diff options
| author | Kai Uwe Broulik <[email protected]> | 2017-02-13 13:20:07 +0100 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2017-02-13 13:20:07 +0100 |
| commit | f7770c60b17108fde8d4b15006a4e8347e85de7b (patch) | |
| tree | 2136521ee7349de681d4130f1eb2275f991a12d3 /src/dolphintabbar.h | |
| parent | d75b1de7bfeba76c540f6772e997aed4aacada88 (diff) | |
Close tab on mouse release rather than on mouse press
Differential Revision: https://phabricator.kde.org/D4501
Diffstat (limited to 'src/dolphintabbar.h')
| -rw-r--r-- | src/dolphintabbar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphintabbar.h b/src/dolphintabbar.h index 6daa9a1ad..0c08031a9 100644 --- a/src/dolphintabbar.h +++ b/src/dolphintabbar.h @@ -40,6 +40,7 @@ protected: virtual void dragMoveEvent(QDragMoveEvent* event) Q_DECL_OVERRIDE; virtual void dropEvent(QDropEvent* event) Q_DECL_OVERRIDE; virtual void mousePressEvent(QMouseEvent* event) Q_DECL_OVERRIDE; + virtual void mouseReleaseEvent(QMouseEvent* event) Q_DECL_OVERRIDE; virtual void mouseDoubleClickEvent(QMouseEvent* event) Q_DECL_OVERRIDE; /** @@ -60,6 +61,7 @@ private: private: QTimer* m_autoActivationTimer; int m_autoActivationIndex; + int m_tabToBeClosedOnMiddleMouseButtonRelease; }; #endif // DOLPHIN_TAB_BAR_H |
