diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2013-06-27 13:08:08 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-28 16:44:10 +0200 |
commit | 811337a73c160447e5218ae55e93df99ac3d9edd (patch) | |
tree | ac196f54046d031684f9ef220574656e16889ee3 /src/imports/dialogs/qquickplatformfiledialog.cpp | |
parent | 87a4a3d095f4fbabb91dade7e7313cb844256b9b (diff) |
FileDialog.folder property should also be a QUrl, for consistencyv5.1.0-rc2v5.1.0
In QtQuick we never use plain file paths, because URL is more general.
Also use const references for string and URL setters, and fixed the
dependency between the FolderListModel's folder, the field for editing it,
and the folder property of the AbstractFileDialog.
Change-Id: I6e965b80b73d4eb2473712a4f4d4f816b768d802
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/imports/dialogs/qquickplatformfiledialog.cpp')
-rw-r--r-- | src/imports/dialogs/qquickplatformfiledialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/dialogs/qquickplatformfiledialog.cpp b/src/imports/dialogs/qquickplatformfiledialog.cpp index ec9f935738..3da9f6c3b2 100644 --- a/src/imports/dialogs/qquickplatformfiledialog.cpp +++ b/src/imports/dialogs/qquickplatformfiledialog.cpp @@ -252,7 +252,7 @@ QPlatformFileDialogHelper *QQuickPlatformFileDialog::helper() */ /*! - \qmlproperty string FileDialog::folder + \qmlproperty url FileDialog::folder The path to the currently selected folder. Setting this property before invoking open() will cause the file browser to be initially positioned on |