Compare commits

...

2 Commits

Author SHA1 Message Date
Martchus 43435a1b6a Avoid warning about implicit conversion when compiling with clang 2024-05-18 13:06:39 +02:00
Martchus 8f1a49610c Bump patch version 2024-05-18 13:06:17 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ set(META_APP_AUTHOR "Martchus")
set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}")
set(META_VERSION_MAJOR 0)
set(META_VERSION_MINOR 2)
set(META_VERSION_PATCH 0)
set(META_VERSION_PATCH 1)
set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH})
set(META_SOVERSION 1)
set(META_PUBLIC_QT_MODULES Core Gui)

View File

@ -152,7 +152,7 @@ QPixmap Renderer::pixmap(QChar icon, const QSize &size, const QColor &color, qre
}
}
if (!scaleFactor) {
if (!static_cast<bool>(scaleFactor)) {
scaleFactor =
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
!QCoreApplication::testAttribute(Qt::AA_UseHighDpiPixmaps)