Changeset 300 in ntrip


Ignore:
Timestamp:
Nov 12, 2006, 4:58:16 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncrinex.cpp

    r298 r300  
    4040 * -----------------------------------------------------------------------*/
    4141
    42 #include <iostream.h>
    43 
    4442#include <stdlib.h>
    45 
    46 #include <QSettings>
    47 #include <QDir>
    48 #include <QUrl>
    49 #include <QDate>
    50 #include <QFile>
    51 #include <QTextStream>
     43#include <iostream>
    5244#include <iomanip>
    5345#include <math.h>
     46
     47#include <QtCore>
     48#include <QUrl>
     49#include <QString>
    5450
    5551#include "bncrinex.h"
     
    129125        QStringList tags = line.split(";");
    130126        if (tags.at(1) == net) {
    131           sklDir = tags.at(6);
    132           cout << _mountPoint.path().mid(1).toAscii().data() << " "
    133                << sklDir.toAscii().data() << endl;
     127          sklDir = tags.at(6).trimmed();
    134128          break;
    135129        }         
    136130      }
     131    }
     132    if (!sklDir.isEmpty() && sklDir != "none") {
     133      cout << _mountPoint.path().mid(1).toAscii().data() << " "
     134           << sklDir.toAscii().data() << endl;
    137135    }
    138136  }
Note: See TracChangeset for help on using the changeset viewer.