mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 16:21:29 +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
Notes:
sideshowbarker
2024-07-18 02:06:21 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/6d6cd87b7b4 Pull-request: https://github.com/SerenityOS/serenity/pull/10553 Reviewed-by: https://github.com/linusg ✅
|
@ -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…
Reference in a new issue