From 7e66a4606bb15d98197f71245fe191d03152ee5f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Feb 2016 23:02:06 +0300 Subject: Improve some empty string checks. --- src/gui/widgets/popup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/popup.cpp') diff --git a/src/gui/widgets/popup.cpp b/src/gui/widgets/popup.cpp index 2c707b295..bd94236b9 100644 --- a/src/gui/widgets/popup.cpp +++ b/src/gui/widgets/popup.cpp @@ -55,7 +55,7 @@ Popup::Popup(const std::string &name, addWidgetListener(this); - if (skin == "") + if (skin.empty()) skin = "popup.xml"; if (theme) -- cgit v1.2.3-60-g2f50