diff --git a/src/acdc.cpp b/src/acdc.cpp index 73088d31080a626853149ffc950926fa8db16a82..59d6cd6dfcd2a3fef731835fd142a8781e5cf965 100644 --- a/src/acdc.cpp +++ b/src/acdc.cpp @@ -5,6 +5,7 @@ #include <cumacros.h> #include <quapps.h> #include <qulabel.h> +#include <quwriter.h> // cumbia #include "ui_acdc.h" @@ -47,8 +48,13 @@ void Acdc::m_stop_all() { } if(tgts.size() > 0) tgts << "pos/dmrc/dmrc_pos.01->Stop"; - foreach(const QString &t, tgts) - printf("would execute \e[1;32m%s\e[0m\n", qstoc(t)); + foreach(const QString &t, tgts) { + printf("executing \e[1;32m%s\e[0m\n", qstoc(t)); + QuWriter *w = new QuWriter(this, cu_pool, m_ctrl_factory_pool); + w->setAutoDestroy(true); + w->setTarget(t); + w->execute(); + } }