summaryrefslogtreecommitdiff
path: root/Widgets/Label.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-21 02:10:45 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-21 02:10:45 +0100
commitec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8 (patch)
tree797d0ec90846ece3c658d55f1507585c85d0b91f /Widgets/Label.cpp
parent89040cdc99d56e0a1a80b972db18d231c155ace0 (diff)
downloadserenity-ec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8.zip
Yet another pass of style fixes.
Diffstat (limited to 'Widgets/Label.cpp')
-rw-r--r--Widgets/Label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Widgets/Label.cpp b/Widgets/Label.cpp
index 98937d62a1..7e33147d0c 100644
--- a/Widgets/Label.cpp
+++ b/Widgets/Label.cpp
@@ -23,7 +23,7 @@ void Label::paintEvent(PaintEvent&)
{
Painter painter(*this);
painter.fillRect({ 0, 0, width(), height() }, backgroundColor());
- if (!text().isEmpty())
+ if (!text().is_empty())
painter.drawText({ 4, 4, width(), height() }, text(), Painter::TextAlignment::TopLeft, foregroundColor());
}