aboutsummaryrefslogtreecommitdiff
path: root/src/settings.cpp
blob: 0122f8fe8ebabe305bfaee8b583bc9e4ef2300ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "settings.h"

QString Settings::_path = QString("");

Settings::Settings(QObject *parent) :
    QSettings(_path, QSettings::IniFormat, parent)
{
}

Settings::~Settings()
{
    this->sync();
}

void Settings::setFilepath(const QString &path)
{
    _path = path;
}