diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-11 21:32:43 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-11 21:32:43 +0100 |
commit | 94ea03c25d322812592a7684cb70a0c31a327772 (patch) | |
tree | b058f3c3d6f64208e11b8def3bc9e6bf05576489 /src/mainwindow.h | |
parent | Window title bar gets updated (diff) | |
download | smolbote-94ea03c25d322812592a7684cb70a0c31a327772.tar.xz |
Minor changes
Tabs now show the icon of the webpage
Warning box when closing multiple tabs
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 3 |
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();
|