aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 0ad24b0..48ce43f 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -23,6 +23,9 @@ public:
public slots:
void createNewTab(const QUrl &url = QUrl(""));
+protected:
+ void closeEvent(QCloseEvent *event) override;
+
private slots:
void handleTabChanged(QWebEngineView *view);
void handleUrlChanged();