From c1dfb4928c880dfe9980e2ff39cdd164e15ceb52 Mon Sep 17 00:00:00 2001 From: stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> Date: Thu, 5 Nov 2020 23:17:30 +0100 Subject: [PATCH] set no maximize flag on charselect --- src/charselect.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/charselect.cpp b/src/charselect.cpp index 8e0aab5..66223f3 100644 --- a/src/charselect.cpp +++ b/src/charselect.cpp @@ -7,6 +7,8 @@ void Courtroom::construct_char_select() { + this->setWindowFlags( (this->windowFlags() | Qt::CustomizeWindowHint) & ~Qt::WindowMaximizeButtonHint); + ui_char_select_background = new AOImage(this, ao_app); ui_char_buttons = new QWidget(ui_char_select_background);