aboutsummaryrefslogtreecommitdiff
path: root/gui/PopUpWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/PopUpWidget.cpp')
-rw-r--r--gui/PopUpWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/PopUpWidget.cpp b/gui/PopUpWidget.cpp
index f12a4d5637..033b5ddaf6 100644
--- a/gui/PopUpWidget.cpp
+++ b/gui/PopUpWidget.cpp
@@ -352,7 +352,7 @@ void PopUpWidget::init() {
_selectedItem = -1;
- if (!_label.isEmpty() && _labelWidth == 0)
+ if (!_label.empty() && _labelWidth == 0)
_labelWidth = g_gui.getStringWidth(_label);
}