aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-11-11 17:28:52 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-11 13:09:03 -0800
commit819d358f8c790e4c1846ce4e5ba9b31291acf82a (patch)
tree8736ce32bf3aa8335cb9beabe30f98225515bda6 /qt-ui/models.cpp
parent1841eb98b95096747bccf937e4c7d074c972bace (diff)
downloadsubsurface-819d358f8c790e4c1846ce4e5ba9b31291acf82a.tar.gz
A bit of code cleanup.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 7c0b35cee..199a9c057 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -2253,7 +2253,7 @@ int LanguageModel::rowCount(const QModelIndex &parent) const
}
-TagFilterModel::TagFilterModel(QObject *parent) : QStringListModel(parent), checkState(NULL)
+TagFilterModel::TagFilterModel(QObject *parent) : QStringListModel(parent)
{
}
@@ -2366,7 +2366,7 @@ bool TagFilterModel::filterRow(int source_row, const QModelIndex &source_parent,
return false;
}
-BuddyFilterModel::BuddyFilterModel(QObject *parent) : QStringListModel(parent), checkState(NULL)
+BuddyFilterModel::BuddyFilterModel(QObject *parent) : QStringListModel(parent)
{
}
@@ -2482,7 +2482,7 @@ bool BuddyFilterModel::setData(const QModelIndex &index, const QVariant &value,
return false;
}
-LocationFilterModel::LocationFilterModel(QObject *parent) : QStringListModel(parent), checkState(NULL)
+LocationFilterModel::LocationFilterModel(QObject *parent) : QStringListModel(parent)
{
}