some cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32654 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2009-12-27 10:10:17 +00:00
parent 00bb647721
commit 0848fbc4a3

View File

@ -2731,8 +2731,8 @@ bool GuiView::dispatch(FuncRequest const & cmd)
if (argument.empty())
format = doc_buffer->getDefaultOutputFormat();
#if EXPORT_in_THREAD && (QT_VERSION >= 0x040400)
ProgressInterface::instance()->clearMessages();
ProgressInterface::instance()->appendMessage("Exporting ...");
d.progress_->clearMessages();
message(_("Exporting ..."));
QFuture<docstring> f = QtConcurrent::run(exportAndDestroy,
doc_buffer->clone(), format);
d.setPreviewFuture(f);
@ -2748,8 +2748,8 @@ bool GuiView::dispatch(FuncRequest const & cmd)
if (argument.empty())
format = doc_buffer->getDefaultOutputFormat();
#if EXPORT_in_THREAD && (QT_VERSION >= 0x040400)
ProgressInterface::instance()->clearMessages();
ProgressInterface::instance()->appendMessage("Previewing ...");
d.progress_->clearMessages();
message(_("Previewing ..."));
QFuture<docstring> f = QtConcurrent::run(previewAndDestroy,
doc_buffer->clone(), format);
d.setPreviewFuture(f);