summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-03-28 23:18:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-04-19 14:52:14 +0200
commit8a3a1b9510d20dfb81c3c737779bb9de3c73f15a (patch)
tree6e0c523de801f22e160cb10d5d571da4e7b64718 /opentrack/main-window.cpp
parent1cd33f5a502ff19dfa0eeae5846749ae70f4328f (diff)
opentrack: require more vertical space for embedding
Diffstat (limited to 'opentrack/main-window.cpp')
-rw-r--r--opentrack/main-window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp
index c514f304..1fded8e0 100644
--- a/opentrack/main-window.cpp
+++ b/opentrack/main-window.cpp
@@ -602,7 +602,7 @@ bool main_window::module_tabs_enabled() const
return false;
// Windows 10: 40px, Windows 11: 48px, KDE: 51px
constexpr int taskbar_size = 51;
- constexpr int min_avail_height = 864 - taskbar_size;
+ constexpr int min_avail_height = 910 - taskbar_size;
QRect rect = d->availableGeometry(this);
return rect.height() >= min_avail_height;
}