From 71948a70133734f06c10dcc1a99e5f937ee9feed Mon Sep 17 00:00:00 2001 From: Reto Zingg Date: Sat, 18 Sep 2010 12:54:01 +0300 Subject: [PATCH] fine tune support for new file formats --- qmvocdocument.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/qmvocdocument.cpp b/qmvocdocument.cpp index 2c40341..166f422 100644 --- a/qmvocdocument.cpp +++ b/qmvocdocument.cpp @@ -903,13 +903,16 @@ QString QmVocDocument::pattern( FileDialogMode mode ) const char* extensions; const char* description; } + + // removed filters + // { true, false, "*.wql", "KWordQuiz Document" }, + // { true, false, "*.xml.gz *.pau.gz", "Pauker Lesson" }, + // { true, false, "*.xdxf", "XML Dictionary Exchange Format" }, + filters[] = { { true, true, "*.kvtml", "KDE Vocabulary Document" }, - { true, false, "*.wql", "KWordQuiz Document" }, - { true, false, "*.xml.qz *.pau.gz", "Pauker Lesson" }, { true, false, "*.voc", "Vokabeltrainer" }, - { true, false, "*.xdxf", "XML Dictionary Exchange Format" }, - { true, true, "*.csv", "Comma Separated Values (CSV)" }, + { true, true, "*.tsv", "Tab Separated Values (TSV)" }, // last is marker for the end, do not remove it { false, false, 0, 0 } }; -- 2.47.3