mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32654 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
00bb647721
commit
0848fbc4a3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user