]> git.lyx.org Git - features.git/commitdiff
Fix for bug 3381, itself due to a bug in QT 4.2.3.
authorRichard Heck <rgheck@comcast.net>
Fri, 30 Mar 2007 15:15:44 +0000 (15:15 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 30 Mar 2007 15:15:44 +0000 (15:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17648 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/FileDialog.C

index e605f5c6d22d5843079f0c3b1ab83a441b3409f4..72e52b45cc5c17b70b771111ba7837e215e09b20 100644 (file)
@@ -89,7 +89,9 @@ FileDialog::Result const FileDialog::save(docstring const & path,
                toqstr(title_), toqstr(startsWith), toqstr(filters.as_string()) ))));
 #else
        LyXFileDialog dlg(title_, path, filters, private_->b1, private_->b2);
+#if QT_VERSION != 0x040203
        dlg.setFileMode(QFileDialog::AnyFile);
+#endif
        dlg.setAcceptMode(QFileDialog::AcceptSave);
        dlg.setConfirmOverwrite(false);