From 4b68423bdd11fe20ee1e40425bd639b9d4955231 Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Fri, 3 Jun 2016 20:16:53 +0200 Subject: [PATCH] Fix application name following harbour policies --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index afca492..17e9c3c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -27,8 +27,8 @@ int main(int argc, char *argv[]) QScopedPointer app(SailfishApp::application(argc, argv)); QScopedPointer view(SailfishApp::createView()); - QCoreApplication::setApplicationName(QStringLiteral("Papocchio")); - QCoreApplication::setOrganizationDomain(QStringLiteral("it.andreascarpino")); + QCoreApplication::setApplicationName(QStringLiteral("harbour-papocchio")); + QCoreApplication::setOrganizationDomain(QStringLiteral("andreascarpino.it")); view->setSource(SailfishApp::pathTo("qml/Papocchio.qml")); @@ -53,7 +53,7 @@ int main(int argc, char *argv[]) QString papocchioDir() { const QDir papocchioDir(QStandardPaths::writableLocation(QStandardPaths::PicturesLocation) - + QDir::separator() + QCoreApplication::applicationName()); + + QDir::separator() + "Papocchio"); if (!papocchioDir.exists()) { if (!papocchioDir.mkpath(papocchioDir.absolutePath())) {