diff options
author | Andy Shaw <andy.shaw@qt.io> | 2017-06-01 19:59:58 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-09-17 17:00:56 +0000 |
commit | c7a43a5d3d34ff0d7f1f8d88750643ffa8195efb (patch) | |
tree | 493b79b889ea5b23d9b9bf4129156db2e1747ad8 /src/dialogs/plugin.cpp | |
parent | 67906d61c6f786dbbced67becc25e1a396f3183c (diff) | |
download | qtquickcontrols-c7a43a5d3d34ff0d7f1f8d88750643ffa8195efb.tar.gz |
Add support for the defaultSuffix property in FileDialog
[ChangeLog][FileDialog] Added defaultSuffix property
Task-number: QTBUG-39230
Change-Id: I7dc73c332ad62129d7158b6f6f5a614b8582ffbc
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/dialogs/plugin.cpp')
-rw-r--r-- | src/dialogs/plugin.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dialogs/plugin.cpp b/src/dialogs/plugin.cpp index a2fb1099..2e861fa5 100644 --- a/src/dialogs/plugin.cpp +++ b/src/dialogs/plugin.cpp @@ -72,7 +72,7 @@ static void initResources() QT_BEGIN_NAMESPACE /*! - \qmlmodule QtQuick.Dialogs 1.2 + \qmlmodule QtQuick.Dialogs 1.3 \title Qt Quick Dialogs QML Types \ingroup qmlmodules \brief Provides QML types for standard file, color picker and message dialogs @@ -82,7 +82,7 @@ QT_BEGIN_NAMESPACE To use the types in this module, import the module with the following line: \code - import QtQuick.Dialogs 1.2 + import QtQuick.Dialogs 1.3 \endcode */ @@ -185,6 +185,7 @@ public: #endif qCDebug(lcRegistration) << " registering" << dialogQmlPath << "as Dialog"; qmlRegisterType(dialogQmlPath, uri, 1, 2, "Dialog"); + qmlRegisterType(dialogQmlPath, uri, 1, 3, "Dialog"); } } |