qt5integration/0001-fix-test-case-build-error.patch
2022-02-25 14:09:41 +08:00

28 lines
1.3 KiB
Diff

From eae277082ff987b88287ea0db2becb5a72760b76 Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: Thu, 24 Feb 2022 20:29:00 +0800
Subject: [PATCH] fix test case build error
---
tests/styleplugins/chameleon/ut_chameleonstyle.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/styleplugins/chameleon/ut_chameleonstyle.cpp b/tests/styleplugins/chameleon/ut_chameleonstyle.cpp
index d7dab01..0e009c0 100644
--- a/tests/styleplugins/chameleon/ut_chameleonstyle.cpp
+++ b/tests/styleplugins/chameleon/ut_chameleonstyle.cpp
@@ -183,8 +183,8 @@ TEST_P(TestForQtStandardPixmapParam, StandardPixmap)
ChameleonStyle *style = new ChameleonStyle;
int param = GetParam();
- qDebug() << "QStyle::standardIcon:" << param << " isNull: " << (style->standardIcon(QStyle::StandardPixmap(param)).isNull());
- qDebug() << "QStyle::standardPixmap:" << param << " isNull: " << (style->standardPixmap(QStyle::StandardPixmap(param)).isNull());
+ //qDebug() << "QStyle::standardIcon:" << param << " isNull: " << (style->standardIcon(QStyle::StandardPixmap(param)).isNull());
+ //qDebug() << "QStyle::standardPixmap:" << param << " isNull: " << (style->standardPixmap(QStyle::StandardPixmap(param)).isNull());
}
class TestForDrawUtil : public ::testing::Test
--
2.33.0