diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-01 16:40:36 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-01 16:40:36 +0200 |
commit | 13ff604e5bd84fbfd63e666c6dacd149fd50d9a9 (patch) | |
tree | 66177209eb193f6dda32289c7a53872e9df4c49b /src/mainwindow/widgets/tabwidget.h | |
parent | Add ProfileManagerDialog (diff) | |
download | smolbote-13ff604e5bd84fbfd63e666c6dacd149fd50d9a9.tar.xz |
Middle mouse button closes tab
Diffstat (limited to 'src/mainwindow/widgets/tabwidget.h')
-rw-r--r-- | src/mainwindow/widgets/tabwidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow/widgets/tabwidget.h b/src/mainwindow/widgets/tabwidget.h index 06fa79b..793e041 100644 --- a/src/mainwindow/widgets/tabwidget.h +++ b/src/mainwindow/widgets/tabwidget.h @@ -28,6 +28,7 @@ public slots: protected: void contextMenuEvent(QContextMenuEvent *event) override; + void mousePressEvent(QMouseEvent *event) override; private: QMenu *tabContextMenu; |