diff --git a/CMakeLists.txt b/CMakeLists.txt index a086030..d4f3c1c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required (VERSION 3.9.5) -project(pineapple-pictures VERSION 0.8.2) # don't forget to update NEWS file and AppStream metadata. +project(pineapple-pictures VERSION 0.8.2.1) # don't forget to update NEWS file and AppStream metadata. include (GNUInstallDirs) include (FeatureSummary) diff --git a/NEWS b/NEWS index de39aa5..c3028ba 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ +Version 0.8.2.1 +~~~~~~~~~~~~~ +Released: 2024-10-27 + +Bugfixes: + * Cannot load translations caused by a change in 0.8.2 + Version 0.8.2 ~~~~~~~~~~~~~ Released: 2024-10-26 diff --git a/app/main.cpp b/app/main.cpp index ff8786d..65afe08 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -22,6 +22,12 @@ int main(int argc, char *argv[]) { QCoreApplication::setApplicationName("Pineapple Pictures"); QCoreApplication::setApplicationVersion(PPIC_VERSION_STRING); + QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Settings::instance()->hiDpiScaleFactorBehavior()); + + QApplication a(argc, argv); +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) + a.setAttribute(Qt::ApplicationAttribute::AA_UseHighDpiPixmaps); +#endif QTranslator translator; QString qmDir; @@ -35,12 +41,6 @@ int main(int argc, char *argv[]) } QGuiApplication::setApplicationDisplayName(QCoreApplication::translate("main", "Pineapple Pictures")); - QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Settings::instance()->hiDpiScaleFactorBehavior()); - - QApplication a(argc, argv); -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - a.setAttribute(Qt::ApplicationAttribute::AA_UseHighDpiPixmaps); -#endif // commandline options QCommandLineOption supportedImageFormats(QStringLiteral("supported-image-formats"), QCoreApplication::translate("main", "List supported image format suffixes, and quit program.")); diff --git a/dist/appstream/net.blumia.pineapple-pictures.metainfo.xml b/dist/appstream/net.blumia.pineapple-pictures.metainfo.xml index a62b5f1..8d9d0ba 100644 --- a/dist/appstream/net.blumia.pineapple-pictures.metainfo.xml +++ b/dist/appstream/net.blumia.pineapple-pictures.metainfo.xml @@ -74,6 +74,14 @@ + + +

This release fixes the following bug:

+
    +
  • Cannot load translations caused by a change in 0.8.2
  • +
+
+

This release adds the following feature: