Changeset 278 in ntrip for trunk/BNC/bncmain.cpp


Ignore:
Timestamp:
Nov 8, 2006, 11:58:57 AM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmain.cpp

    r274 r278  
    8585                &app, SLOT(slotMessage(const QByteArray&)));
    8686
     87    int iMount = -1;
    8788    QListIterator<QString> it(settings.value("mountPoints").toStringList());
    8889    while (it.hasNext()) {
     90      ++iMount;
    8991      QStringList hlp = it.next().split(" ");
    9092      if (hlp.size() <= 1) continue;
    9193      QUrl url(hlp[0]);
    9294      QByteArray format = hlp[1].toAscii();
    93       bncGetThread* getThread = new bncGetThread(url, format);
     95      bncGetThread* getThread = new bncGetThread(url, format, iMount);
    9496      app.connect(getThread, SIGNAL(newMessage(const QByteArray&)),
    9597                  &app, SLOT(slotMessage(const QByteArray&)));
Note: See TracChangeset for help on using the changeset viewer.