From 39029943851dfc318fabb95357e00b81d2735547 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Dec 2012 03:08:37 +0300 Subject: Improve empty strings manipulation. --- src/gui/theme.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/theme.cpp') diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 8a4f3573c..8be991bd6 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -646,8 +646,8 @@ void Theme::prepareThemePath() { initDefaultThemePath(); - mThemePath = ""; - mThemeName = ""; + mThemePath.clear(); + mThemeName.clear(); // Try theme from settings if (tryThemePath(config.getStringValue("theme"))) -- cgit v1.2.3-70-g09d2