Richard Heck wrote:
The attached patch resolves bug 3381. I am not so much suggesting it at
this point as just asking about it. It needs to be tested on a variety
of systems, in particular with different versions of QT4, before any
further action can be taken. I've posted a message to Trolltech telling
them about this, but haven't yet heard anything back from them.
Or maybe better: Is there any way to check if we're running under 4.2.3,
I think you can use this :
#if QT_VERSION == 0x040203
...
#endif
which is where the problem seems to be?
Richard
------------------------------------------------------------------------
Index: frontends/qt4/FileDialog.C
===================================================================
--- frontends/qt4/FileDialog.C (revision 17629)
+++ frontends/qt4/FileDialog.C (working copy)
@@ -89,7 +89,7 @@
toqstr(title_), toqstr(startsWith), toqstr(filters.as_string())
))));
#else
LyXFileDialog dlg(title_, path, filters, private_->b1, private_->b2);
- dlg.setFileMode(QFileDialog::AnyFile);
+ //dlg.setFileMode(QFileDialog::AnyFile);
dlg.setAcceptMode(QFileDialog::AcceptSave);
dlg.setConfirmOverwrite(false);