Changeset 4452 in ntrip for trunk


Ignore:
Timestamp:
Jul 29, 2012, 5:38:56 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/graphwin.cpp

    r4451 r4452  
    158158  QPainter painter(&image);
    159159  _canvas->render(&painter);
    160   image.save("test.png","PNG");
     160  QDir dir(dirName);
     161  QString fileName = dir.path() + QDir::separator() + _fileName + ".png";
     162  image.save(fileName,"PNG");
    161163}
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4451 r4452  
    8383  delete _log;     _log     = 0;
    8484  delete _logFile; _logFile = 0;
     85  bncApp* app = (bncApp*) qApp;
     86  if ( app->mode() != bncApp::interactive) {
     87    app->exit(0);
     88  }
    8589}
    8690
     
    168172  // Exit
    169173  // ----
    170   bncApp* app = (bncApp*) qApp;
    171   if ( app->mode() != bncApp::interactive) {
    172     app->exit(0);
    173   }
    174   else {
    175     emit finished();
    176     deleteLater();
    177   }
     174  emit finished();
     175  deleteLater();
    178176}
    179177
Note: See TracChangeset for help on using the changeset viewer.