aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-08-10 16:43:18 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-27 11:40:44 -0700
commitb264c3e36704c83a6c9353fe5eac3dc0eb3c9a80 (patch)
tree0e0f4f7a86032ad20a63e75060c153bcbfa4a052 /qt-models
parentb76c1846bbfda4b802795a682398c82361103e3c (diff)
downloadsubsurface-b264c3e36704c83a6c9353fe5eac3dc0eb3c9a80.tar.gz
Settings update: Remove unused include & variable.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/models.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-models/models.cpp b/qt-models/models.cpp
index d02f466a4..655213e62 100644
--- a/qt-models/models.cpp
+++ b/qt-models/models.cpp
@@ -8,7 +8,6 @@
#include "core/helpers.h"
#include <QLocale>
-#include <QSettings>
// initialize the trash icon if necessary
@@ -67,7 +66,6 @@ LanguageModel *LanguageModel::instance()
LanguageModel::LanguageModel(QObject *parent) : QAbstractListModel(parent)
{
- QSettings s;
QDir d(getSubsurfaceDataPath("translations"));
Q_FOREACH (const QString &s, d.entryList()) {
if (s.startsWith("subsurface_") && s.endsWith(".qm")) {