mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibGUI+Userland: Make Dialog::ExecResult an enum class
This commit is contained in:
parent
1f82beded3
commit
cdffe556c8
90 changed files with 232 additions and 232 deletions
|
@ -20,7 +20,7 @@ Game::Game()
|
|||
{
|
||||
set_override_cursor(Gfx::StandardCursor::Hidden);
|
||||
auto level_dialog = LevelSelectDialog::show(m_board, window());
|
||||
if (level_dialog != GUI::Dialog::ExecOK)
|
||||
if (level_dialog != GUI::Dialog::ExecResult::OK)
|
||||
m_board = -1;
|
||||
set_paused(false);
|
||||
start_timer(16);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue