aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/widgets/tabwidget.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-01 16:40:36 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-01 16:40:36 +0200
commit13ff604e5bd84fbfd63e666c6dacd149fd50d9a9 (patch)
tree66177209eb193f6dda32289c7a53872e9df4c49b /src/mainwindow/widgets/tabwidget.h
parentAdd ProfileManagerDialog (diff)
downloadsmolbote-13ff604e5bd84fbfd63e666c6dacd149fd50d9a9.tar.xz
Middle mouse button closes tab
Diffstat (limited to 'src/mainwindow/widgets/tabwidget.h')
-rw-r--r--src/mainwindow/widgets/tabwidget.h1
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;