LoginServer: Mark the login window as non-closeable and non-minimizable

Previously, you could close the window and be permanently logged out.
This commit is contained in:
Timothy Flynn 2021-10-21 09:14:23 -04:00 committed by Linus Groh
parent 176155c695
commit 6d6cd87b7b
Notes: sideshowbarker 2024-07-18 02:06:21 +09:00

View file

@ -16,6 +16,8 @@ LoginWindow::LoginWindow(GUI::Window* parent)
resize(413, 170);
center_on_screen();
set_resizable(false);
set_minimizable(false);
set_closeable(false);
set_icon(GUI::Icon::default_icon("ladyball").bitmap_for_size(16));
auto& widget = set_main_widget<GUI::Widget>();