diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-22 14:17:14 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-22 14:25:26 +0200 |
commit | 125c1673c267fdff97332adc82436c66342a9bf9 (patch) | |
tree | 88b62e094e08d472b0cb3588d4619974ef65c07e /gui/main.cpp | |
parent | 55fe003f5ca47def59057df9d51661a483eec894 (diff) |
gui: call adjust-size() after show()
Diffstat (limited to 'gui/main.cpp')
-rw-r--r-- | gui/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/main.cpp b/gui/main.cpp index 99f63267..3481c534 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -178,6 +178,8 @@ main(int argc, char** argv) { w->setVisible(true); w->show(); + w->adjustSize(); + w->setFixedSize(w->size()); } else w->setVisible(false); |