---
scribo/ChangeLog | 4 ++++
scribo/demo/viewer/runner.cc | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index b19115d..be2e395 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-18 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * demo/viewer/runner.cc: Clear arguments on new process.
+
2011-01-28 Guillaume Lazzara <z(a)lrde.epita.fr>
* tests/unit_test/unit-tests.mk: Regen.
diff --git a/scribo/demo/viewer/runner.cc b/scribo/demo/viewer/runner.cc
index 085ef39..86ff5dc 100644
--- a/scribo/demo/viewer/runner.cc
+++ b/scribo/demo/viewer/runner.cc
@@ -94,6 +94,7 @@ void runner::stop()
void runner::start_demat(const QString& filename)
{
+ args_.clear();
args_ << filename;
mode_ = Demat;
@@ -191,6 +192,7 @@ void runner::process(const image2d<value::rgb8>&
original_ima,
void runner::start_export(const QString& imgfile,
const QString& xmlfile, const QString& outfile)
{
+ args_.clear();
args_ << imgfile << xmlfile << outfile;
mode_ = Export;
--
1.5.6.5
Show replies by date