summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/dbusmenu
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-02-03 12:45:21 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-02-22 09:13:04 +0000
commitfc6d5ed18da29138494803baa11c0edc22ace7f4 (patch)
tree54e4dca130bf6b7e8ef0484086c9f46c23a099b4 /src/platformsupport/dbusmenu
parent6129aade0018437d8d65a0051040d7100c8ec681 (diff)
QFileDialogOptions: Expose default name filter setting.
Move the bool QFileDialogPrivate::defaultFileTypes to QFileDialogOptions as defaultNameFilters and add a static function returning the translated default filter string. Let QFileDialogOptions::nameFilters() return the default filter until a value has been set. This removes the need for special handling for empty filter lists in the QPA plugins. As a side effect, Qt Quick Controls's FileDialog will then also default to "All files" if no filters have been set. Task-number: QTBUG-50644 Change-Id: I9ba271a472d4fa03767b540ef6f1399f5ca4408e Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Diffstat (limited to 'src/platformsupport/dbusmenu')
0 files changed, 0 insertions, 0 deletions