diff options
Diffstat (limited to 'Userland/Games/Solitaire/main.cpp')
-rw-r--r-- | Userland/Games/Solitaire/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Solitaire/main.cpp b/Userland/Games/Solitaire/main.cpp index d345a64e18..3fcdf5152e 100644 --- a/Userland/Games/Solitaire/main.cpp +++ b/Userland/Games/Solitaire/main.cpp @@ -39,7 +39,7 @@ int main(int argc, char** argv) window->set_resizable(false); window->resize(SolitaireWidget::width, SolitaireWidget::height); - auto widget = SolitaireWidget::construct(window, [&](uint32_t score) { + auto widget = SolitaireWidget::construct([&](uint32_t score) { window->set_title(String::formatted("Score: {} - Solitaire", score)); }); |