diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-15 01:07:47 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-15 02:05:50 +0200 |
commit | e2150d04662a4ba8b5304dabcc74be0bacded5b7 (patch) | |
tree | cbeb05c2f056a7d5ac4a08e7b80799b5cfd4785b /src/gui/setup_other.cpp | |
parent | edda37acb9d66f2751ef712c83dced62428fa685 (diff) | |
download | plus-e2150d04662a4ba8b5304dabcc74be0bacded5b7.tar.gz plus-e2150d04662a4ba8b5304dabcc74be0bacded5b7.tar.bz2 plus-e2150d04662a4ba8b5304dabcc74be0bacded5b7.tar.xz plus-e2150d04662a4ba8b5304dabcc74be0bacded5b7.zip |
Fix code style, apply some fixes after checking with cppcheck from git.
Diffstat (limited to 'src/gui/setup_other.cpp')
-rw-r--r-- | src/gui/setup_other.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/setup_other.cpp b/src/gui/setup_other.cpp index 5a2b77a81..41a6c41ab 100644 --- a/src/gui/setup_other.cpp +++ b/src/gui/setup_other.cpp @@ -36,7 +36,6 @@ #include "utils/gettext.h" #define ACTION_SHOW_TAKEDDAMAGE "taked damage" -#define ACTION_NO_RAIN "no rain" #define ACTION_ONLY_REACHABLE "only reachable" #define ACTION_ERRORS_IN_DEBUG "errors in debug" #define ACTION_HIGHLIGHT_PORTALS "highlight portals" @@ -68,7 +67,6 @@ Setup_Other::Setup_Other(): mShowMonstersTakedDamage(config.getBoolValue("showMonstersTakedDamage")), mTargetOnlyReachable(config.getBoolValue("targetOnlyReachable")), - mErrorsInDebug(config.getBoolValue("errorsInDebug")), mHighlightPortals(config.getBoolValue("highlightMapPortals")), mHighlightAttackRange(config.getBoolValue("highlightAttackRange")), mHighlightMonsterAttackRange( @@ -89,7 +87,8 @@ Setup_Other::Setup_Other(): mWarpParticle(config.getBoolValue("warpParticle")), mAutoShop(config.getBoolValue("autoShop")), mShowMobHP(config.getBoolValue("showMobHP")), - mShowOwnHP(config.getBoolValue("showOwnHP")) + mShowOwnHP(config.getBoolValue("showOwnHP")), + mEditDialog(0) { setName(_("Misc")); @@ -409,7 +408,6 @@ void Setup_Other::apply() { config.setValue("showMonstersTakedDamage", mShowMonstersTakedDamage); config.setValue("targetOnlyReachable", mTargetOnlyReachable); - config.setValue("errorsInDebug", mErrorsInDebug); config.setValue("highlightMapPortals", mHighlightPortals); config.setValue("highlightAttackRange", mHighlightAttackRange); config.setValue("highlightMonsterAttackRange", |