]> git.lyx.org Git - features.git/commitdiff
some cleanup
authorPeter Kümmel <syntheticpp@gmx.net>
Sun, 27 Dec 2009 10:10:17 +0000 (10:10 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Sun, 27 Dec 2009 10:10:17 +0000 (10:10 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32654 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 0b8f69fb3a9e248553732dcc7892c8ea664e0ae7..00ca3b55be938b94b680d51749d9f7dd57831ed1 100644 (file)
@@ -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);