Skip to content

Commit 481f4d0

Browse files
chore: format code
1 parent f13cdc0 commit 481f4d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/utilities/iconengine.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/***************************************************************************************************
2-
* Copyright 2025-2025 x-tools-author(x-tools@outlook.com). All rights reserved.
2+
* Copyright 2025-2026 x-tools-author(x-tools@outlook.com). All rights reserved.
33
*
44
* The file is encoded using "utf8 with bom", it is a part of xTools project.
55
*
@@ -61,8 +61,9 @@ void IconEngine::paint(QPainter *painter, const QRect &rect, QIcon::Mode mode, Q
6161

6262
if (m_iconFile != lastIconFile || iconColor != lastColor || cachedPixmap.isNull()) {
6363
QPixmap pixmap(m_iconFile);
64-
if (pixmap.isNull())
64+
if (pixmap.isNull()) {
6565
return;
66+
}
6667

6768
QPixmap coloredPixmap(pixmap.size());
6869
coloredPixmap.fill(Qt::transparent);

0 commit comments

Comments
 (0)