summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-12-19 18:18:39 +0100
committerStanislaw Halik <sthalik@misaki.pl>2021-12-19 18:18:39 +0100
commit17cb2a6d77b214df365504f8479bd1c60333c20c (patch)
treef0cadd44e7ab77b03a6694825f1946ca335e3011
parent30ce32a9f80727b5fc3c500adb34c5b44482b91b (diff)
opentrack: call QWidget::adjustSize()
-rw-r--r--opentrack/main-window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp
index be585a4e..9e7b8695 100644
--- a/opentrack/main-window.cpp
+++ b/opentrack/main-window.cpp
@@ -38,6 +38,7 @@ main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH)
annoy_if_root();
#endif
+ adjustSize();
setWindowFlag(Qt::MSWindowsFixedSizeDialogHint);
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);