Changeset 3973 in ntrip


Ignore:
Timestamp:
Apr 20, 2012, 7:58:43 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/rinex
Files:
2 edited

Legend:

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

    r3843 r3973  
    206206  }
    207207
    208   emit finished();
    209   deleteLater();
    210 }
     208  bncApp* app = (bncApp*) qApp;
     209  if ( app->mode() != bncApp::interactive) {
     210    app->exit(0);
     211  }
     212  else {
     213    emit finished();
     214    deleteLater();
     215  }
     216}
  • 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.