aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-01-11 21:32:43 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-01-11 21:32:43 +0100
commit94ea03c25d322812592a7684cb70a0c31a327772 (patch)
treeb058f3c3d6f64208e11b8def3bc9e6bf05576489 /src/mainwindow.h
parentWindow title bar gets updated (diff)
downloadsmolbote-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.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();