Settings update: Remove unused include & variable.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-08-10 16:43:18 -03:00 committed by Dirk Hohndel
parent b76c1846bb
commit b264c3e367

View file

@ -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")) {