diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-08-11 20:53:30 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-08-12 07:56:03 +0000 |
commit | 0d8e87d7f6765fec9f261030d63768d49cd7c6de (patch) | |
tree | 37c1135a066c939b4b5fa172754fd42d5b2dfbc6 /examples/quickcontrols2/texteditor/documenthandler.h | |
parent | 4a981527124b628fbd05f3d8d6462a2b20bb9567 (diff) |
texteditor: simplify saveAs() - let FileDialog handle the suffix
Change-Id: Id1b415ebcbe12a9eeff9b54dcfa2cec67054a8d6
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/texteditor/documenthandler.h')
-rw-r--r-- | examples/quickcontrols2/texteditor/documenthandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols2/texteditor/documenthandler.h b/examples/quickcontrols2/texteditor/documenthandler.h index 48e2c509..9feb338e 100644 --- a/examples/quickcontrols2/texteditor/documenthandler.h +++ b/examples/quickcontrols2/texteditor/documenthandler.h @@ -125,7 +125,7 @@ public Q_SLOTS: void setFileUrl(const QUrl &fileUrl); void setText(const QString &text); - void saveAs(const QUrl &fileUrl, const QString &fileType); + void saveAs(const QUrl &fileUrl); void setDocumentTitle(const QString &documentTitle); |