+ lock_guard<mutex> lock(_signals_mutex);
+
+ if (!_decode_traces.empty()) {
+ qDebug("Currently only one decode trace can be added "
+ "at once");
+ _decode_traces.clear();
+ }
+
+ shared_ptr<data::Decoder> decoder(
+ new data::Decoder(dec, probes, options));
+ shared_ptr<view::DecodeSignal> d(
+ new view::DecodeSignal(*this, decoder,
+ _decode_traces.size()));