From d363a5c9b030d292a814838f6526d1eb816ca3a2 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 29 Feb 2024 14:10:01 +0100 Subject: [PATCH] Apply clang-format --- qtforkawesome/renderer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qtforkawesome/renderer.cpp b/qtforkawesome/renderer.cpp index d1b1ef1..4f04275 100644 --- a/qtforkawesome/renderer.cpp +++ b/qtforkawesome/renderer.cpp @@ -6,8 +6,8 @@ #include #include #include -#include #include +#include /// \brief Contains classes provided by the QtForkAwesome library. namespace QtForkAwesome { @@ -155,7 +155,9 @@ QPixmap Renderer::pixmap(QChar icon, const QSize &size, const QColor &color, qre if (!scaleFactor) { scaleFactor = #if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) - !QCoreApplication::testAttribute(Qt::AA_UseHighDpiPixmaps) ? 1.0 : + !QCoreApplication::testAttribute(Qt::AA_UseHighDpiPixmaps) + ? 1.0 + : #endif (m_d->paintDevice ? m_d->paintDevice->devicePixelRatioF() : qGuiApp->devicePixelRatio()); }