aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-11-05 23:17:22 +0100
committerstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-11-05 23:17:22 +0100
commit997462ad54f7e42d0fa1062337287f1492e3b111 (patch)
tree726f23883fa8385e829e7459f0b90a2ddc5bf3e9
parentc49ce181c92ca2722c06ee5c3c1bd5d8e134a3d1 (diff)
set no maximize flag on courtroom
-rw-r--r--src/courtroom.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index a12c95ae..cdadfe84 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -3,6 +3,9 @@
Courtroom::Courtroom(AOApplication *p_ao_app) : QMainWindow()
{
ao_app = p_ao_app;
+
+ this->setWindowFlags( (this->windowFlags() | Qt::CustomizeWindowHint) & ~Qt::WindowMaximizeButtonHint);
+
ao_app->initBASS();
qsrand(static_cast<uint>(QDateTime::currentMSecsSinceEpoch() / 1000));