- Timestamp:
- Jul 29, 2012, 5:38:56 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/graphwin.cpp
r4451 r4452 158 158 QPainter painter(&image); 159 159 _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"); 161 163 } -
trunk/BNC/src/rinex/reqcanalyze.cpp
r4451 r4452 83 83 delete _log; _log = 0; 84 84 delete _logFile; _logFile = 0; 85 bncApp* app = (bncApp*) qApp; 86 if ( app->mode() != bncApp::interactive) { 87 app->exit(0); 88 } 85 89 } 86 90 … … 168 172 // Exit 169 173 // ---- 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(); 178 176 } 179 177
Note:
See TracChangeset
for help on using the changeset viewer.