---
scribo/ChangeLog | 4 ++++
scribo/demo/viewer/runner.cc | 6 ++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 4ff4d27..50ca1a6 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-22 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * demo/viewer/runner.cc: Improve progress notification.
+
2011-03-21 Guillaume Lazzara <z(a)lrde.epita.fr>
Fix compilation issues on MAC.
diff --git a/scribo/demo/viewer/runner.cc b/scribo/demo/viewer/runner.cc
index e923db7..4f020ac 100644
--- a/scribo/demo/viewer/runner.cc
+++ b/scribo/demo/viewer/runner.cc
@@ -222,13 +222,19 @@ void runner::export_as()
int rvalue = 0;
if (f.suffix() == "pdf")
+ {
+ emit new_step("Exporting as PDF...");
rvalue = system(QString("%1/scribo-xml2doc --pdf %2 %3 %4")
.arg(pathto_xml2doc).arg(args_.at(1)).arg(args_.at(0))
.arg(args_.at(2)).toAscii().constData());
+ }
else if (f.suffix() == "html" || f.suffix() == "htm")
+ {
+ emit new_step("Exporting as HTML...");
rvalue = system(QString("%1/scribo-xml2doc --html %2 %3 %4")
.arg(pathto_xml2doc).arg(args_.at(1)).arg(args_.at(0))
.arg(args_.at(2)).toAscii().constData());
+ }
else
QMessageBox::critical(0, "Fatal error", "Cannot export! Invalid output
format!");
--
1.5.6.5
Show replies by date