From 06e963f73e87f53078f890537134774f550ee8c6 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 10 Nov 2010 13:45:33 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 66b621f82f..60eef6fbf9 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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."),