Fix export for Qt < 4.4.0.

The 100% cpu problem is still there and the culprit turns out to be r35795.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36231 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-11-10 13:45:33 +00:00
parent 22c7c7b144
commit 06e963f73e

View File

@ -3003,8 +3003,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
dispatch(FuncRequest(LFUN_DIALOG_SHOW, "sendto"), dr);
break;
}
#if 0
// TODO Remove if we could export asynchronous
#if QT_VERSION < 0x040400
if (!doc_buffer->doExport(argument, false)) {
dr.setError(true);
dr.setMessage(bformat(_("Error exporting to format: %1$s."),