mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
also build with older Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32609 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a66b8d03c4
commit
114f245404
@ -63,14 +63,14 @@ GuiProgress::GuiProgress(GuiView * view) : view_(view)
|
||||
|
||||
void GuiProgress::doProcessStarted(QString const & cmd)
|
||||
{
|
||||
QString time = QTime::currentTime().toString(Qt::SystemLocaleShortDate);
|
||||
QString time = QTime::currentTime().toString();
|
||||
appendText(time + ": <" + cmd + "> started\n");
|
||||
}
|
||||
|
||||
|
||||
void GuiProgress::doProcessFinished(QString const & cmd)
|
||||
{
|
||||
QString time = QTime::currentTime().toString(Qt::SystemLocaleShortDate);
|
||||
QString time = QTime::currentTime().toString();
|
||||
appendText(time + ": <" + cmd + "> done\n");
|
||||
}
|
||||
|
||||
|
@ -2706,7 +2706,7 @@ bool GuiView::dispatch(FuncRequest const & cmd)
|
||||
format = doc_buffer->getDefaultOutputFormat();
|
||||
#if EXPORT_in_THREAD && (QT_VERSION >= 0x040400)
|
||||
ProgressInterface::instance()->clearMessages();
|
||||
QString time = QTime::currentTime().toString(Qt::SystemLocaleShortDate);
|
||||
QString time = QTime::currentTime().toString();
|
||||
ProgressInterface::instance()->appendMessage(time + ": Exporting ...\n");
|
||||
QFuture<docstring> f = QtConcurrent::run(exportAndDestroy,
|
||||
doc_buffer->clone(), format);
|
||||
@ -2724,7 +2724,7 @@ bool GuiView::dispatch(FuncRequest const & cmd)
|
||||
format = doc_buffer->getDefaultOutputFormat();
|
||||
#if EXPORT_in_THREAD && (QT_VERSION >= 0x040400)
|
||||
ProgressInterface::instance()->clearMessages();
|
||||
QString time = QTime::currentTime().toString(Qt::SystemLocaleShortDate);
|
||||
QString time = QTime::currentTime().toString();
|
||||
ProgressInterface::instance()->appendMessage(time + ": Previewing ...\n");
|
||||
QFuture<docstring> f = QtConcurrent::run(previewAndDestroy,
|
||||
doc_buffer->clone(), format);
|
||||
|
Loading…
Reference in New Issue
Block a user