diff --git a/src/app/puzzle/vpapplication.cpp b/src/app/puzzle/vpapplication.cpp index 3bb6f0370..bf196d5ba 100644 --- a/src/app/puzzle/vpapplication.cpp +++ b/src/app/puzzle/vpapplication.cpp @@ -402,14 +402,14 @@ void VPApplication::InitOptions() qCDebug(pApp, "Command-line arguments: %s", qUtf8Printable(arguments().join(QStringLiteral(", ")))); qCDebug(pApp, "Process ID: %s", qUtf8Printable(QString().setNum(applicationPid()))); - CheckSystemLocale(); - QPixmapCache::setCacheLimit(50 * 1024 /* 50 MB */); LoadTranslation(QString());// By default the console version uses system locale VPCommandLine::Instance(); + CheckSystemLocale(); + static const char * GENERIC_ICON_TO_CHECK = "document-open"; if (not QIcon::hasThemeIcon(GENERIC_ICON_TO_CHECK)) { diff --git a/src/app/tape/mapplication.cpp b/src/app/tape/mapplication.cpp index fe1c12bde..d0bcfb0ca 100644 --- a/src/app/tape/mapplication.cpp +++ b/src/app/tape/mapplication.cpp @@ -441,10 +441,10 @@ void MApplication::InitOptions() qCDebug(mApp, "Command-line arguments: %s", qUtf8Printable(arguments().join(QStringLiteral(", ")))); qCDebug(mApp, "Process ID: %s", qUtf8Printable(QString().setNum(applicationPid()))); - CheckSystemLocale(); - LoadTranslation(QString());// By default the console version uses system locale + CheckSystemLocale(); + static const char * GENERIC_ICON_TO_CHECK = "document-open"; if (not QIcon::hasThemeIcon(GENERIC_ICON_TO_CHECK)) { diff --git a/src/app/valentina/core/vapplication.cpp b/src/app/valentina/core/vapplication.cpp index f8df14551..4082bf6b9 100644 --- a/src/app/valentina/core/vapplication.cpp +++ b/src/app/valentina/core/vapplication.cpp @@ -613,13 +613,13 @@ void VApplication::InitOptions() qDebug()<<"Command-line arguments:"<GetLocale());