qt5base-lts/tests/auto/widgets
Marc Mutz c7386938b4 QProgressDialog: make the cancel button retranslate on LanguageChange
It is documented to be, and the LanguageChange event is caught and processed.
However, retranslateStrings() uses QProgressDialog::setCancelButtonText(),
which unconditionally sets useDefaultCancelText=true, blocking any further
changes to the button text by subsequent LanguageChange events.

The fix is to use extracted QProgressDialogPrivate::setCancelButtonText()
which - quite intentionally - doesn't set useDefaultCancelText.

Task-number: QTBUG-40504
Change-Id: I6e701deda10c454cb088c0b0778ac2d6adff574a
Reviewed-by: David Faure <david.faure@kdab.com>
2014-07-30 23:41:01 +02:00
..
dialogs QProgressDialog: make the cancel button retranslate on LanguageChange 2014-07-30 23:41:01 +02:00
effects QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
graphicsview tst_qgraphicsproxywidget: Fix widget leaks. 2014-07-25 15:37:10 +02:00
itemviews Fix crash when inserting the same instance widget more than once 2014-06-26 10:17:36 +02:00
kernel tst_qwidget: Fix top level widget leaks. 2014-07-25 15:14:27 +02:00
styles Remove the widget from the stylesheet cache before polishing 2014-06-20 07:10:21 +02:00
util Revert "Session management for OS X" 2014-07-13 13:48:19 +02:00
widgets QMdiArea: Store focus widget when new QMdiSubWindow is added. 2014-07-30 06:29:00 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00