summaryrefslogtreecommitdiffstats
path: root/smtreeview.h
diff options
context:
space:
mode:
Diffstat (limited to 'smtreeview.h')
-rw-r--r--smtreeview.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/smtreeview.h b/smtreeview.h
index 67ba844..6d30917 100644
--- a/smtreeview.h
+++ b/smtreeview.h
@@ -24,6 +24,9 @@ class SmTreeView : public QTreeView {
void writeHeaderConfig();
void toggleHeader(QObject *action);
+ protected:
+ virtual void contextMenuEvent(QContextMenuEvent *e);
+
private:
const QString mHeaderSetting;
QActionGroup *mHeaderGroup;