Changeset 3973 in ntrip for trunk/BNC/rinex/reqcanalyze.cpp


Ignore:
Timestamp:
Apr 20, 2012, 7:58:43 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/reqcanalyze.cpp

    r3899 r3973  
    4141#include <iostream>
    4242#include "reqcanalyze.h"
     43#include "bncapp.h"
    4344#include "bncsettings.h"
    4445
     
    6364  cout << "Reqc Analyze Running ..." << endl;
    6465
    65   emit finished();
    66   deleteLater();
     66  bncApp* app = (bncApp*) qApp;
     67  if ( app->mode() != bncApp::interactive) {
     68    app->exit(0);
     69  }
     70  else {
     71    emit finished();
     72    deleteLater();
     73  }
    6774}
Note: See TracChangeset for help on using the changeset viewer.