Commit 10f7ad32 authored by Andrea Scarpino's avatar Andrea Scarpino

Fix config file path following harbour policies

parent 4148b456
......@@ -39,7 +39,7 @@ LyricsManager::LyricsManager(QObject *parent) :
QObject(parent)
, api(0)
{
settings = new QSettings(QCoreApplication::organizationDomain(), QCoreApplication::applicationName(), this);
settings = new QSettings(QCoreApplication::applicationName(), QCoreApplication::applicationName(), this);
setProvider(settings->value("Provider").toString());
}
......
......@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
QScopedPointer<QApplication> app(new QApplication(argc, argv));
QScopedPointer<QQuickView> view(SailfishApp::createView());
QCoreApplication::setApplicationName(QStringLiteral("Lyrics"));
QCoreApplication::setApplicationName(QStringLiteral("harbour-Lyrics"));
QCoreApplication::setOrganizationDomain(QStringLiteral("it.andreascarpino"));
LyricsManager manager;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment