mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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 "core/helpers.h"
|
||||||
|
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
#include <QSettings>
|
|
||||||
|
|
||||||
// initialize the trash icon if necessary
|
// initialize the trash icon if necessary
|
||||||
|
|
||||||
|
@ -67,7 +66,6 @@ LanguageModel *LanguageModel::instance()
|
||||||
|
|
||||||
LanguageModel::LanguageModel(QObject *parent) : QAbstractListModel(parent)
|
LanguageModel::LanguageModel(QObject *parent) : QAbstractListModel(parent)
|
||||||
{
|
{
|
||||||
QSettings s;
|
|
||||||
QDir d(getSubsurfaceDataPath("translations"));
|
QDir d(getSubsurfaceDataPath("translations"));
|
||||||
Q_FOREACH (const QString &s, d.entryList()) {
|
Q_FOREACH (const QString &s, d.entryList()) {
|
||||||
if (s.startsWith("subsurface_") && s.endsWith(".qm")) {
|
if (s.startsWith("subsurface_") && s.endsWith(".qm")) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue