aboutsummaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-16 12:49:09 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-16 12:49:09 +0100
commitc8854d193231736e9c609bc2f6eb169cf83579af (patch)
treef51e379204b8cb6c3242930938d71b375d7b4fd8 /src/widgets
parentWebView pageMenu implementation (diff)
downloadsmolbote-c8854d193231736e9c609bc2f6eb169cf83579af.tar.xz
Moved MainWindow toolbars to mainwindow.ui
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/mainwindowmenubar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/mainwindowmenubar.cpp b/src/widgets/mainwindowmenubar.cpp
index cdd473a..5ef0618 100644
--- a/src/widgets/mainwindowmenubar.cpp
+++ b/src/widgets/mainwindowmenubar.cpp
@@ -32,6 +32,8 @@ MainWindowMenuBar::MainWindowMenuBar(std::shared_ptr<Configuration> config, Main
Q_ASSERT(config);
Q_CHECK_PTR(parent);
+ setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
+
// Browser menu
QMenu *browserMenu = new QMenu(qApp->applicationName(), this);
addMenu(browserMenu);