Changeset 3972 in ntrip
- Timestamp:
- Apr 20, 2012, 7:57:07 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmain.cpp
r3548 r3972 50 50 #include "bncversion.h" 51 51 #include "upload/bncephuploadcaster.h" 52 #ifdef USE_POSTPROCESSING 53 # include "rinex/bncpostprocess.h" 54 # include "rinex/reqcedit.h" 55 # include "rinex/reqcanalyze.h" 56 #endif 52 57 53 58 using namespace std; … … 138 143 ((bncApp*)qApp)->slotMessage("========== Start BNC v" BNCVERSION " =========", true); 139 144 145 // Post-Processing reqc edit 146 // ------------------------- 147 if (settings.value("reqcAction").toString() == "Edit/Concatenate") { 148 app.setMode(bncApp::batchPostProcessing); 149 t_reqcEdit* reqcEdit = new t_reqcEdit(0); 150 reqcEdit->start(); 151 } 152 140 153 // Normal case - data from Internet 141 154 // -------------------------------- 142 if ( rawFileName.isEmpty() ) {155 else if ( rawFileName.isEmpty() ) { 143 156 app.setMode(bncApp::nonInteractive); 144 157 caster->slotReadMountPoints(); -
trunk/BNC/rinex/reqcedit.cpp
r3956 r3972 41 41 #include <iostream> 42 42 #include "reqcedit.h" 43 #include "bncapp.h" 43 44 #include "bncsettings.h" 44 45 … … 97 98 } 98 99 99 emit finished(); 100 deleteLater(); 100 bncApp* app = (bncApp*) qApp; 101 if ( app->mode() != bncApp::interactive) { 102 app->exit(0); 103 } 104 else { 105 emit finished(); 106 deleteLater(); 107 } 101 108 }
Note:
See TracChangeset
for help on using the changeset viewer.