diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-21 02:10:45 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-21 02:10:45 +0100 |
commit | ec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8 (patch) | |
tree | 797d0ec90846ece3c658d55f1507585c85d0b91f /Widgets/Label.cpp | |
parent | 89040cdc99d56e0a1a80b972db18d231c155ace0 (diff) | |
download | serenity-ec1c487dcd7de331d17d9c9ccc21dfbfa00dd4c8.zip |
Yet another pass of style fixes.
Diffstat (limited to 'Widgets/Label.cpp')
-rw-r--r-- | Widgets/Label.cpp | 2 |
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()); } |