diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-16 12:49:09 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-16 12:49:09 +0100 |
commit | c8854d193231736e9c609bc2f6eb169cf83579af (patch) | |
tree | f51e379204b8cb6c3242930938d71b375d7b4fd8 /src/widgets | |
parent | WebView pageMenu implementation (diff) | |
download | smolbote-c8854d193231736e9c609bc2f6eb169cf83579af.tar.xz |
Moved MainWindow toolbars to mainwindow.ui
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/mainwindowmenubar.cpp | 2 |
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); |