Changeset 5066 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp
- Timestamp:
- Mar 30, 2013, 11:31:00 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r4718 r5066 101 101 delete _log; _log = 0; 102 102 delete _logFile; _logFile = 0; 103 bncApp* app = (bncApp*) qApp; 104 if ( app->mode() != bncApp::interactive) { 105 app->exit(0); 103 if (PGM_CORE->mode() != t_pgmCore::interactive) { 104 qApp->exit(0); 106 105 } 107 106 } … … 117 116 double maxValue) { 118 117 119 bncApp* app = dynamic_cast<bncApp*>(qApp); 120 if (app->GUIenabled()) { 118 if (PGM_CORE->GUIenabled()) { 121 119 122 120 if (maxValue == 0.0) { … … 144 142 if (data1) { 145 143 t_polarPlot* plot1 = new t_polarPlot(QwtText(title1), scaleInterval, 146 app->mainWindow());144 PGM_CORE->mainWindow()); 147 145 plot1->addCurve(data1); 148 146 plots << plot1; … … 150 148 if (data2) { 151 149 t_polarPlot* plot2 = new t_polarPlot(QwtText(title2), scaleInterval, 152 app->mainWindow());150 PGM_CORE->mainWindow()); 153 151 plot2->addCurve(data2); 154 152 plots << plot2; … … 298 296 // Show the plots 299 297 // -------------- 300 if ( dynamic_cast<bncApp*>(qApp)->GUIenabled()) {298 if (PGM_CORE->GUIenabled()) { 301 299 QFileInfo fileInfo(obsFile->fileName()); 302 300 QByteArray title = fileInfo.fileName().toAscii(); … … 653 651 const QByteArray& title) { 654 652 655 if ( dynamic_cast<bncApp*>(qApp)->GUIenabled()) {653 if (PGM_CORE->GUIenabled()) { 656 654 t_availPlot* plotA = new t_availPlot(0, &_availDataMap); 657 655 plotA->setTitle(title);
Note:
See TracChangeset
for help on using the changeset viewer.