Fix application name following harbour policies
This commit is contained in:
parent
4662063e3c
commit
4b68423bdd
1 changed files with 3 additions and 3 deletions
|
@ -27,8 +27,8 @@ int main(int argc, char *argv[])
|
|||
QScopedPointer<QGuiApplication> app(SailfishApp::application(argc, argv));
|
||||
QScopedPointer<QQuickView> 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())) {
|
||||
|
|
Loading…
Reference in a new issue