Apply clang-format

This commit is contained in:
Martchus 2024-02-29 14:10:01 +01:00
parent ef08f63715
commit d363a5c9b0
1 changed files with 4 additions and 2 deletions

View File

@ -6,8 +6,8 @@
#include <QGuiApplication> #include <QGuiApplication>
#include <QHash> #include <QHash>
#include <QIcon> #include <QIcon>
#include <QPainter>
#include <QPaintDevice> #include <QPaintDevice>
#include <QPainter>
/// \brief Contains classes provided by the QtForkAwesome library. /// \brief Contains classes provided by the QtForkAwesome library.
namespace QtForkAwesome { namespace QtForkAwesome {
@ -155,7 +155,9 @@ QPixmap Renderer::pixmap(QChar icon, const QSize &size, const QColor &color, qre
if (!scaleFactor) { if (!scaleFactor) {
scaleFactor = scaleFactor =
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) #if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
!QCoreApplication::testAttribute(Qt::AA_UseHighDpiPixmaps) ? 1.0 : !QCoreApplication::testAttribute(Qt::AA_UseHighDpiPixmaps)
? 1.0
:
#endif #endif
(m_d->paintDevice ? m_d->paintDevice->devicePixelRatioF() : qGuiApp->devicePixelRatio()); (m_d->paintDevice ? m_d->paintDevice->devicePixelRatioF() : qGuiApp->devicePixelRatio());
} }