qt5base-lts/tests/auto/widgets/dialogs
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
..
qcolordialog Revert Mac event loop changes. 2013-09-02 13:07:35 +02:00
qdialog Ensure transient parents are top level widgets. 2014-07-18 09:25:05 +02:00
qerrormessage QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qfiledialog tst_qfiledialog: use QStandardPaths test mode 2014-07-23 20:05:32 +02:00
qfiledialog2 Mark tst_qfiledialog2 as insignificant due to failing tests 2014-05-23 07:05:41 +02:00
qfilesystemmodel Stabilize tst_qfilesystemmodel::rowsInserted() on Windows. 2014-04-25 06:58:27 +02:00
qfontdialog Do not rely on the list of standard font sizes for QFontDialog. 2014-03-28 22:52:19 +01:00
qinputdialog expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qmessagebox Do not clear default button in QMessageBox::setDetailedText(). 2014-06-04 14:43:02 +02:00
qprogressdialog QProgressDialog: make the cancel button retranslate on LanguageChange 2014-07-30 23:41:01 +02:00
qsidebar Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qwizard QNX: Fix QWizard autotest 2014-04-14 16:47:51 +02:00
dialogs.pro Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00