mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
22c7c7b144
commit
06e963f73e
@ -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."),
|
||||
|
Loading…
Reference in New Issue
Block a user