Avoid warning about implicit conversion when compiling with clang

This commit is contained in:
Martchus 2024-05-18 13:06:39 +02:00
parent 8f1a49610c
commit 43435a1b6a
1 changed files with 1 additions and 1 deletions

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)