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:
Peter Kümmel 2009-12-22 09:26:45 +00:00
parent a66b8d03c4
commit 114f245404
2 changed files with 4 additions and 4 deletions

View File

@ -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");
}

View File

@ -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);