aboutsummaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-11 21:57:25 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-11 21:57:25 +0100
commit6cf244277a5ba8434b85d2b9a861ceed1c6dfb88 (patch)
tree4bc3804b36d0d3e85139501bd2fb0bae97a71cc0 /src/widgets
parentSimple filterlist (diff)
downloadsmolbote-6cf244277a5ba8434b85d2b9a861ceed1c6dfb88.tar.xz
Autogenerating settings dialog
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/mainwindowmenubar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/mainwindowmenubar.cpp b/src/widgets/mainwindowmenubar.cpp
index 992163e..2f6c1af 100644
--- a/src/widgets/mainwindowmenubar.cpp
+++ b/src/widgets/mainwindowmenubar.cpp
@@ -49,6 +49,7 @@ MainWindowMenuBar::MainWindowMenuBar(std::shared_ptr<Configuration> config, Main
newTabAction->setShortcut(QKeySequence(config->value<std::string>("browser.shortcuts.newTab").value().c_str()));
browserMenu->addSeparator();
+ browserMenu->addAction(tr("Settings"), parent, &MainWindow::showSettingsDialog);
browserMenu->addAction(tr("About"), parent, &MainWindow::about, QKeySequence(config->value<std::string>("browser.shortcuts.about").value().c_str()));
browserMenu->addAction(tr("About Qt"), qApp, &QApplication::aboutQt);
browserMenu->addSeparator();