summaryrefslogtreecommitdiffstats
path: root/qt-models/models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/models.cpp')
-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")) {