summaryrefslogtreecommitdiff
path: root/Userland/Games/Hearts
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2023-02-12 11:13:18 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:45:09 +0000
commitd32b052f22d3b1ffbf009d5de17572f381cd87fa (patch)
tree1c7d13a32501208d6e1594ac38d51d2b21ce6c11 /Userland/Games/Hearts
parent61b49daf0acd3b3511521eb8eb494d5c57610b62 (diff)
downloadserenity-d32b052f22d3b1ffbf009d5de17572f381cd87fa.zip
LibGUI+Userland: Add `_deprecated` suffix to AbstractButton::{set_,}text
Diffstat (limited to 'Userland/Games/Hearts')
-rw-r--r--Userland/Games/Hearts/Game.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Games/Hearts/Game.cpp b/Userland/Games/Hearts/Game.cpp
index d349b52d9a..0e052f63ee 100644
--- a/Userland/Games/Hearts/Game.cpp
+++ b/Userland/Games/Hearts/Game.cpp
@@ -180,13 +180,13 @@ void Game::setup(DeprecatedString player_name, int hand_number)
m_human_can_play = true;
switch (passing_direction()) {
case PassingDirection::Left:
- m_passing_button->set_text("Pass Left");
+ m_passing_button->set_text_deprecated("Pass Left");
break;
case PassingDirection::Across:
- m_passing_button->set_text("Pass Across");
+ m_passing_button->set_text_deprecated("Pass Across");
break;
case PassingDirection::Right:
- m_passing_button->set_text("Pass Right");
+ m_passing_button->set_text_deprecated("Pass Right");
break;
default:
VERIFY_NOT_REACHED();
@@ -871,7 +871,7 @@ void Game::pass_cards()
}
m_state = State::PassingAccept;
- m_passing_button->set_text("OK");
+ m_passing_button->set_text_deprecated("OK");
m_passing_button->set_enabled(true);
}