SHARE
TWEET

Untitled

a guest Jul 24th, 2015 218 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/DSView/pv/mainwindow.cpp b/DSView/pv/mainwindow.cpp
  2. --- mainwindow.cpp.orig 2015-07-24 19:00:36.621046681 -0300
  3. +++ mainwindow.cpp      2015-07-24 19:01:13.749582511 -0300
  4. @@ -739,8 +739,8 @@
  5.          s_obj["strigger"] = s->get_trig();
  6.          boost::shared_ptr<view::DsoSignal> dsoSig;
  7.          if (dsoSig = dynamic_pointer_cast<view::DsoSignal>(s)) {
  8. -            s_obj["vdiv"] = QJsonValue::fromVariant(dsoSig->get_vDialValue());
  9. -            s_obj["vfactor"] = QJsonValue::fromVariant(dsoSig->get_factor());
  10. +            s_obj["vdiv"] = QString("%1").arg(dsoSig->get_vDialValue());
  11. +            s_obj["vfactor"] = QString("%1").arg(dsoSig->get_factor());
  12.              s_obj["coupling"] = dsoSig->get_acCoupling();
  13.              s_obj["trigValue"] = dsoSig->get_trigRate();
  14.              s_obj["zeroPos"] = dsoSig->get_zeroRate();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top