summaryrefslogtreecommitdiffstats
path: root/.tag
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-07-29 23:32:13 +0200
committerMarc Mutz <marc.mutz@kdab.com>2014-07-30 23:41:01 +0200
commitc7386938b43f3564b3e3a6fe5f98009e39d52e4c (patch)
treed288735af2b0f898e225675aeba901541dade3f9 /.tag
parentab79a8a76c6fae9d92b9b0718eee60d60c73ecc8 (diff)
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>
Diffstat (limited to '.tag')
0 files changed, 0 insertions, 0 deletions