Changeset 3976 in ntrip


Ignore:
Timestamp:
Apr 21, 2012, 10:15:24 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmain.cpp

    r3975 r3976  
    103103  bncSettings settings;
    104104
     105  for (int ii = 1; ii < argc - 2; ii++) {
     106    if (QByteArray(argv[ii]).indexOf("-key") != -1) {
     107      QString key(argv[ii+1]);
     108      QString val(argv[ii+2]);
     109      settings.setValue(key, val);
     110    }
     111  }
     112
    105113  // Interactive Mode - open the main window
    106114  // ---------------------------------------
Note: See TracChangeset for help on using the changeset viewer.