summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-14 21:47:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-14 21:47:02 +0300
commit24a5939846bf593e17e09f3564d941a7c2a5bf27 (patch)
treee37187b6411480aeb385accc9345c14ab2652ebe /src/gui/widgets/tabs
parent4424f769af82000bc84b9d4c9f46c20834a817e6 (diff)
downloadmv-24a5939846bf593e17e09f3564d941a7c2a5bf27.tar.gz
mv-24a5939846bf593e17e09f3564d941a7c2a5bf27.tar.bz2
mv-24a5939846bf593e17e09f3564d941a7c2a5bf27.tar.xz
mv-24a5939846bf593e17e09f3564d941a7c2a5bf27.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_mods.cpp3
-rw-r--r--src/gui/widgets/tabs/setup_mods.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/setup_mods.cpp b/src/gui/widgets/tabs/setup_mods.cpp
index f6b43183c..ada0ef686 100644
--- a/src/gui/widgets/tabs/setup_mods.cpp
+++ b/src/gui/widgets/tabs/setup_mods.cpp
@@ -23,7 +23,6 @@
#include "gui/widgets/tabs/setup_mods.h"
#include "configuration.h"
-#include "map.h"
#include "gui/widgets/layouthelper.h"
#include "gui/widgets/setupitem.h"
@@ -96,7 +95,7 @@ void Setup_Mods::loadMods()
}
}
-void Setup_Mods::saveMods()
+void Setup_Mods::saveMods() const
{
const ModInfos &mods = ModDB::getAll();
if (mods.empty())
diff --git a/src/gui/widgets/tabs/setup_mods.h b/src/gui/widgets/tabs/setup_mods.h
index 6c5c519fd..c385aca08 100644
--- a/src/gui/widgets/tabs/setup_mods.h
+++ b/src/gui/widgets/tabs/setup_mods.h
@@ -42,7 +42,7 @@ class Setup_Mods final : public SetupTabScroll
void loadMods();
- void saveMods();
+ void saveMods() const;
protected:
};