summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_theme.cpp')
-rw-r--r--src/gui/setup_theme.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp
index 658877eed..277ddadae 100644
--- a/src/gui/setup_theme.cpp
+++ b/src/gui/setup_theme.cpp
@@ -312,7 +312,7 @@ void Setup_Theme::updateInfo()
}
else
{
- mThemeInfo = "";
+ mThemeInfo.clear();
}
replaceAll(mThemeInfo, "\\n", "\n");
mInfoButton->setEnabled(!mThemeInfo.empty());
@@ -324,7 +324,7 @@ void Setup_Theme::action(const gcn::ActionEvent &event)
if (event.getId() == ACTION_THEME)
{
if (mThemeDropDown->getSelected() == 0)
- mTheme = "";
+ mTheme.clear();
else
mTheme = mThemeDropDown->getSelectedString();
updateInfo();
@@ -337,7 +337,7 @@ void Setup_Theme::action(const gcn::ActionEvent &event)
{
const int id = mLangDropDown->getSelected();
if (id < 0 || id >= langs_count)
- mLang = "";
+ mLang.clear();
else
mLang = LANG_NAME[id].value;
}