summaryrefslogtreecommitdiff
path: root/Userland/Games/Solitaire/Card.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-05-15 22:13:11 -0400
committerAndreas Kling <kling@serenityos.org>2021-05-16 16:37:51 +0200
commitddb278ab85f65a3111b4011bbc102023a863421a (patch)
tree3a402cce16e6ed865e9fe51fd341f1fc8d9ccf60 /Userland/Games/Solitaire/Card.cpp
parentce030ca584b0311c97466f4b30ebd7e989a51a17 (diff)
downloadserenity-ddb278ab85f65a3111b4011bbc102023a863421a.zip
Solitaire: Add key combo to dump the state of the layout
Useful for chasing down bugs.
Diffstat (limited to 'Userland/Games/Solitaire/Card.cpp')
-rw-r--r--Userland/Games/Solitaire/Card.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Games/Solitaire/Card.cpp b/Userland/Games/Solitaire/Card.cpp
index 40c4d4d072..20e79c128e 100644
--- a/Userland/Games/Solitaire/Card.cpp
+++ b/Userland/Games/Solitaire/Card.cpp
@@ -89,7 +89,6 @@ Card::Card(Type type, uint8_t value)
Gfx::Painter painter(m_front);
auto& font = Gfx::FontDatabase::default_bold_font();
- static const String labels[] = { "A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K" };
auto label = labels[value];
m_front->fill(Color::White);