aboutsummaryrefslogtreecommitdiff
path: root/src/subwindow/subwindow.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-09-22 13:07:33 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-09-22 13:07:33 +0200
commit9c12d813966e0fdc4542a7001ffa135722840de0 (patch)
tree3e2e382a52d7c1fc6eecfdd7ac1200747d5de3a4 /src/subwindow/subwindow.cpp
parentAdd updater notes to documentation (diff)
downloadsmolbote-9c12d813966e0fdc4542a7001ffa135722840de0.tar.xz
SubWindow: add 'open last closed tab/tabs' actions
Diffstat (limited to 'src/subwindow/subwindow.cpp')
-rw-r--r--src/subwindow/subwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/subwindow/subwindow.cpp b/src/subwindow/subwindow.cpp
index 6cbb172..0e59c6b 100644
--- a/src/subwindow/subwindow.cpp
+++ b/src/subwindow/subwindow.cpp
@@ -69,6 +69,7 @@ SubWindow::SubWindow(const std::unique_ptr<Configuration> &config, QWidget *pare
auto index = addTab(WebProfile::defaultProfile()->newtab());
tabWidget->setCurrentIndex(index);
});
+ newTab_button->setMenu(tabWidget->createTabMenu(newTab_button));
tabWidget->setCornerWidget(newTab_button, Qt::TopRightCorner);
// general actions