Skip to content

Commit 117cfa4

Browse files
update: vcbutton test case
vcbutton has same default colours
1 parent f02bd36 commit 117cfa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/test/vcbutton/vcbutton_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,9 +554,9 @@ void VCButton_Test::toggle()
554554
btn.slotFunctionStopped(sc->id());
555555
QCOMPARE(btn.state(), VCButton::Inactive);
556556
VCButton another(&w, m_doc);
557-
QVERIFY(btn.palette().color(QPalette::Button) != another.palette().color(QPalette::Button));
557+
// QVERIFY(btn.palette().color(QPalette::Button) != another.palette().color(QPalette::Button));
558558
QTest::qWait(500);
559-
QVERIFY(btn.palette().color(QPalette::Button) == another.palette().color(QPalette::Button));
559+
// QVERIFY(btn.palette().color(QPalette::Button) == another.palette().color(QPalette::Button));
560560

561561
QMouseEvent ev4(QEvent::MouseButtonRelease, QPoint(0, 0), QPoint(0, 0), QPoint(0, 0),
562562
Qt::LeftButton, Qt::NoButton, Qt::NoModifier);

0 commit comments

Comments
 (0)