mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
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:
parent
176155c695
commit
6d6cd87b7b
1 changed files with 2 additions and 0 deletions
|
@ -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>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue