]> git.lyx.org Git - features.git/commitdiff
Remove obsolete formats from file dialog
authorRichard Heck <rgheck@lyx.org>
Tue, 1 Apr 2014 19:53:37 +0000 (21:53 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Tue, 1 Apr 2014 19:53:50 +0000 (21:53 +0200)
It is confusing for the users to see the formats 1.3--1.6 in the file-open
dialog and not the 2.0 format. The exotic extensions were only used when
e.g., LyX 1.6.x exported to LyX 1.5.x format.

src/frontends/qt4/GuiView.cpp

index 28c6f3a40f0576cba188fbf03498ab54882d0a6c..cd5d3ff1819dbde1e9864d3249901999b4fa71e5 100644 (file)
@@ -1951,11 +1951,7 @@ void GuiView::openDocument(string const & fname)
                dlg.setButton2(qt_("Examples|#E#e"),
                                toqstr(addPath(package().system_support().absFileName(), "examples")));
 
-               QStringList filter(qt_("LyX Documents (*.lyx)"));
-               filter << qt_("LyX-1.3.x Documents (*.lyx13)")
-                       << qt_("LyX-1.4.x Documents (*.lyx14)")
-                       << qt_("LyX-1.5.x Documents (*.lyx15)")
-                       << qt_("LyX-1.6.x Documents (*.lyx16)");
+               QStringList const filter(qt_("LyX Documents (*.lyx)"));
                FileDialog::Result result =
                        dlg.open(toqstr(initpath), filter);