summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-06-06 13:50:23 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-10 23:29:33 +0200
commita90d93285a0b95013020644f29c5d932aa989d37 (patch)
treec52e6f8fd56a1d74aece29ca2da1d5c3f8839ff7 /mkspecs/features
parentb2a0a1437000c6cd78de4bf960993732457a8e92 (diff)
Windows save file dialog: Set default suffix only once.
IFileDialog::SetDefaultExtension() needs to be called for the dialog to automatically update the suffix when the user chooses a new file type. Calling it IFileDialogEvents::OnTypeChanged as introduced by 42760e43eaa64e834809ef5fb01a83cfb75f4f04 causes it to use the previous suffix when switching. Call in setNameFilters() using the first available suffix instead. Task-number: QTBUG-31381 Task-number: QTBUG-30748 Change-Id: Idd532e4190c752aa80abce963dd0389be7d22a34 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'mkspecs/features')
0 files changed, 0 insertions, 0 deletions