diff options
Diffstat (limited to 'src/subwindow/tabwidget.h')
-rw-r--r-- | src/subwindow/tabwidget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/subwindow/tabwidget.h b/src/subwindow/tabwidget.h index ef1930d..d615bcb 100644 --- a/src/subwindow/tabwidget.h +++ b/src/subwindow/tabwidget.h @@ -36,7 +36,7 @@ public: public slots: int addTab(WebView *view); - void deleteTab(int index); + void removeTab(int index); int restoreLastTab(); void restoreTabMenu(QMenu *menu); @@ -45,6 +45,8 @@ protected: void contextMenuEvent(QContextMenuEvent *event) override; void mousePressEvent(QMouseEvent *event) override; + + private: QMenu *tabContextMenu; QQueue<TabInformation> m_closedTabs; |