From 4a981527124b628fbd05f3d8d6462a2b20bb9567 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 11 Aug 2016 22:44:34 +0200 Subject: texteditor: fix the file dialog name filters OS X interpreted the suffix literally ".html," Change-Id: Icdf889592e4457db5dd4ffd420501b890cbcfd27 Reviewed-by: Mitch Curtis --- examples/quickcontrols2/texteditor/qml/texteditor.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/quickcontrols2/texteditor/qml/texteditor.qml b/examples/quickcontrols2/texteditor/qml/texteditor.qml index cac5a66d..1188686b 100644 --- a/examples/quickcontrols2/texteditor/qml/texteditor.qml +++ b/examples/quickcontrols2/texteditor/qml/texteditor.qml @@ -162,7 +162,7 @@ ApplicationWindow { FileDialog { id: openDialog fileMode: FileDialog.OpenFile - nameFilters: ["Text files (*.txt)", "HTML files (*.html, *.htm)"] + nameFilters: ["Text files (*.txt)", "HTML files (*.html *.htm)"] onFileSelected: document.fileUrl = file } -- cgit v1.2.3