Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Martchus | 43435a1b6a | |
Martchus | 8f1a49610c |
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue