diff options
| author | Shawn Rutledge <shawn.rutledge@digia.com> | 2015-03-18 12:59:28 +0100 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2015-03-18 15:13:43 +0000 |
| commit | 32e297a03fc9823b894a7d1c0c11b082abc662b0 (patch) | |
| tree | 316c187e0a40ce35e86f704d53f9e2e7ea248e5d /examples/quick/controls/filesystembrowser/main.cpp | |
| parent | c9e558a64833a7f74e9c0423c35a73ed5229f112 (diff) | |
FileDialog: make the save/load distinction function properly
- shortcuts need to be different: use QStandardPaths::writableLocation
if it's a "save" dialog
- that means shortcuts need to change dynamically, because the same
dialog instance can be reused for both purposes
- DefaultFileDialog.qml changes its button labels accordingly
Change-Id: Ie90d96cc686caf30e86669a79e613585f8fb3704
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Diffstat (limited to 'examples/quick/controls/filesystembrowser/main.cpp')
0 files changed, 0 insertions, 0 deletions
