Skip to content
Snippets Groups Projects
Commit 033676a7 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

fix multiple writer connects

parent 60e39fa6
No related branches found
No related tags found
No related merge requests found
......@@ -240,10 +240,10 @@ void Alarmmanager::m_selection_changed(const QItemSelection &sel, const QItemSel
QuWriter *w = findChild<QuWriter *>("tag_writer");
if(!w) {
w = new QuWriter(this, cu_pool, m_ctrl_factory_pool);
connect(w, SIGNAL(newData(CuData)), this, SLOT(m_on_tag_writer_data(CuData)));
w->setObjectName("tag_writer");
}
w->setProperty("device", dev);
connect(w, SIGNAL(newData(CuData)), this, SLOT(m_on_tag_writer_data(CuData)));
w->setTarget(dev + "/tag");
w->execute(n);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment