mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
b76c1846bb
commit
b264c3e367
1 changed files with 0 additions and 2 deletions
|
@ -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")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue