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())
|
if (argument.empty())
|
||||||
format = doc_buffer->getDefaultOutputFormat();
|
format = doc_buffer->getDefaultOutputFormat();
|
||||||
#if EXPORT_in_THREAD && (QT_VERSION >= 0x040400)
|
#if EXPORT_in_THREAD && (QT_VERSION >= 0x040400)
|
||||||
ProgressInterface::instance()->clearMessages();
|
d.progress_->clearMessages();
|
||||||
ProgressInterface::instance()->appendMessage("Exporting ...");
|
message(_("Exporting ..."));
|
||||||
QFuture<docstring> f = QtConcurrent::run(exportAndDestroy,
|
QFuture<docstring> f = QtConcurrent::run(exportAndDestroy,
|
||||||
doc_buffer->clone(), format);
|
doc_buffer->clone(), format);
|
||||||
d.setPreviewFuture(f);
|
d.setPreviewFuture(f);
|
||||||
@ -2748,8 +2748,8 @@ bool GuiView::dispatch(FuncRequest const & cmd)
|
|||||||
if (argument.empty())
|
if (argument.empty())
|
||||||
format = doc_buffer->getDefaultOutputFormat();
|
format = doc_buffer->getDefaultOutputFormat();
|
||||||
#if EXPORT_in_THREAD && (QT_VERSION >= 0x040400)
|
#if EXPORT_in_THREAD && (QT_VERSION >= 0x040400)
|
||||||
ProgressInterface::instance()->clearMessages();
|
d.progress_->clearMessages();
|
||||||
ProgressInterface::instance()->appendMessage("Previewing ...");
|
message(_("Previewing ..."));
|
||||||
QFuture<docstring> f = QtConcurrent::run(previewAndDestroy,
|
QFuture<docstring> f = QtConcurrent::run(previewAndDestroy,
|
||||||
doc_buffer->clone(), format);
|
doc_buffer->clone(), format);
|
||||||
d.setPreviewFuture(f);
|
d.setPreviewFuture(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user