From: Richard Heck Date: Fri, 30 Mar 2007 15:15:44 +0000 (+0000) Subject: Fix for bug 3381, itself due to a bug in QT 4.2.3. X-Git-Tag: 1.6.10~10412 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a19d10e47958c549266f0d6d597c8cb4bad989d5;p=features.git Fix for bug 3381, itself due to a bug in QT 4.2.3. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17648 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/FileDialog.C b/src/frontends/qt4/FileDialog.C index e605f5c6d2..72e52b45cc 100644 --- a/src/frontends/qt4/FileDialog.C +++ b/src/frontends/qt4/FileDialog.C @@ -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);