--- a/phoneuis/bubblemanager2/tsrc/unit/ut_bubbleutils/ut_bubbleutils.cpp Fri Sep 17 17:09:12 2010 +0300
+++ b/phoneuis/bubblemanager2/tsrc/unit/ut_bubbleutils/ut_bubbleutils.cpp Mon Oct 04 16:06:10 2010 +0300
@@ -564,9 +564,14 @@
BubbleUtils::setButtonStyleForAction(button,action);
QVERIFY(button.buttonType()==BubbleButton::GreenButton);
+ // The next test is flagged out from winscw build because seems that
+ // in Qt 4.7 the behaviour of QAction::setSoftKeyRole and
+ // QAction::softKeyRole is broken.
+#if not defined(__WINSCW__)
action.setSoftKeyRole(QAction::NegativeSoftKey);
BubbleUtils::setButtonStyleForAction(button,action);
QVERIFY(button.buttonType()==BubbleButton::RedButton);
+#endif
}
void ut_BubbleUtils::test_setIndicators()