Changeset 6436 in ntrip


Ignore:
Timestamp:
Dec 25, 2014, 7:12:06 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r6430 r6436  
    10091009  _reqcPlotDirLineEdit->setMaximumWidth(15*ww);
    10101010
    1011   QString reqcSkyPlotSignals;
    1012   if (settings.contains("reqcSkyPlotSignals")) {
    1013     reqcSkyPlotSignals = settings.value("reqcSkyPlotSignals").toString();
    1014   }
    1015   else {
    1016     reqcSkyPlotSignals = "G:1&2 R:1&2 J:1&2 E:1&7 C:1&6";
    1017   }
    1018   _reqcSkyPlotSignals = new QLineEdit(reqcSkyPlotSignals);
     1011  _reqcSkyPlotSignals = new QLineEdit(settings.value("reqcSkyPlotSignals").toString());
    10191012  connect(_reqcSkyPlotSignals, SIGNAL(textChanged(const QString &)),
    10201013          this, SLOT(slotBncTextChanged()));
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r6424 r6436  
    525525
    526526  bncSettings settings;
    527   QStringList signalsOpt = settings.value("reqcSkyPlotSignals").toString().split(" ", QString::SkipEmptyParts);
     527 
     528  QString reqcSkyPlotSignals = settings.value("reqcSkyPlotSignals").toString();
     529  if (reqcSkyPlotSignals.isEmpty()) {
     530    reqcSkyPlotSignals = "G:1&2 R:1&2 J:1&2 E:1&7 C:1&6";
     531  }
     532
     533  QStringList signalsOpt = reqcSkyPlotSignals.split(" ", QString::SkipEmptyParts);
    528534  QMap<char, QString> signalTypes1;
    529535  QMap<char, QString> signalTypes2;
Note: See TracChangeset for help on using the changeset viewer.