From 114f245404cfd9764818f071f7e223ac6cf889d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Tue, 22 Dec 2009 09:26:45 +0000 Subject: [PATCH] also build with older Qt versions git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32609 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiProgress.cpp | 4 ++-- src/frontends/qt4/GuiView.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiProgress.cpp b/src/frontends/qt4/GuiProgress.cpp index a51523346b..7680e9a765 100644 --- a/src/frontends/qt4/GuiProgress.cpp +++ b/src/frontends/qt4/GuiProgress.cpp @@ -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"); } diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 779ad7d954..2f41919dc0 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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 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 f = QtConcurrent::run(previewAndDestroy, doc_buffer->clone(), format);