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/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/window.cpp') diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 450c2e025..886372035 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -174,7 +174,7 @@ Window::Window(const std::string &caption, setPadding(3); setTitleBarHeight(20); - if (skin == "") + if (skin.empty()) skin = "window.xml"; int childPalette = 1; -- cgit v1.2.3-70-g09d2