summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-20 21:08:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-20 21:08:24 +0300
commit1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc (patch)
tree34d522b5c40079d82bb63b279e9c7e6cccb740c5 /src/gui/models
parent9e2074d093ecdf9afc95a2fefc24b38307da627d (diff)
downloadmv-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.tar.gz
mv-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.tar.bz2
mv-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.tar.xz
mv-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.zip
Fix code style.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/colormodel.cpp1
-rw-r--r--src/gui/models/modelistmodel.cpp1
-rw-r--r--src/gui/models/namesmodel.cpp1
-rw-r--r--src/gui/models/shopitems.cpp1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/models/colormodel.cpp b/src/gui/models/colormodel.cpp
index 39406e3ff..76a7da8fa 100644
--- a/src/gui/models/colormodel.cpp
+++ b/src/gui/models/colormodel.cpp
@@ -27,6 +27,7 @@
#include "debug.h"
ColorModel::ColorModel() :
+ ListModel(),
mNames(),
mColors()
{
diff --git a/src/gui/models/modelistmodel.cpp b/src/gui/models/modelistmodel.cpp
index d70be4b1f..60974bb7e 100644
--- a/src/gui/models/modelistmodel.cpp
+++ b/src/gui/models/modelistmodel.cpp
@@ -54,6 +54,7 @@ static bool modeSorter(const std::string &mode1, const std::string &mode2)
#endif // ANDROID
ModeListModel::ModeListModel() :
+ ListModel(),
mVideoModes()
{
SDL::getAllVideoModes(mVideoModes);
diff --git a/src/gui/models/namesmodel.cpp b/src/gui/models/namesmodel.cpp
index 6d831cab9..9c90ff4c0 100644
--- a/src/gui/models/namesmodel.cpp
+++ b/src/gui/models/namesmodel.cpp
@@ -25,6 +25,7 @@
#include "debug.h"
NamesModel::NamesModel() :
+ ListModel(),
mNames()
{
}
diff --git a/src/gui/models/shopitems.cpp b/src/gui/models/shopitems.cpp
index 402d2f641..061da5110 100644
--- a/src/gui/models/shopitems.cpp
+++ b/src/gui/models/shopitems.cpp
@@ -29,6 +29,7 @@
#include "debug.h"
ShopItems::ShopItems(const bool mergeDuplicates) :
+ ListModel(),
mAllShopItems(),
mShopItems(),
mMergeDuplicates(mergeDuplicates)