aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/texteditor/documenthandler.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-08-11 20:53:30 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-08-12 07:56:03 +0000
commit0d8e87d7f6765fec9f261030d63768d49cd7c6de (patch)
tree37c1135a066c939b4b5fa172754fd42d5b2dfbc6 /examples/quickcontrols2/texteditor/documenthandler.h
parent4a981527124b628fbd05f3d8d6462a2b20bb9567 (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.h2
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);