summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-28 01:59:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-28 01:59:04 +0300
commitc79403e1341ac533df1771b866d1f5cee15e12b5 (patch)
tree5bed6dfb44f7fce0432bd7a7a28d2d23db07ce80 /src/gui/setup_theme.cpp
parent7c79aa2b8e484319e3e511fa21db6d2448347024 (diff)
downloadmanaplus-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.gz
manaplus-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.bz2
manaplus-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.xz
manaplus-c79403e1341ac533df1771b866d1f5cee15e12b5.zip
Add const to more classes.
Diffstat (limited to 'src/gui/setup_theme.cpp')
-rw-r--r--src/gui/setup_theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp
index bcc360d14..8b53e73b7 100644
--- a/src/gui/setup_theme.cpp
+++ b/src/gui/setup_theme.cpp
@@ -322,7 +322,7 @@ void Setup_Theme::action(const gcn::ActionEvent &event)
}
else if (event.getId() == ACTION_LANG)
{
- int id = mLangDropDown->getSelected();
+ const int id = mLangDropDown->getSelected();
if (id < 0 || id >= langs_count)
mLang = "";
else