Changeset 4454 in ntrip for trunk/BNC/src/rinex/graphwin.cpp
- Timestamp:
- Jul 31, 2012, 9:07:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/graphwin.cpp
r4452 r4454 55 55 this->setAttribute(Qt::WA_DeleteOnClose); 56 56 57 setWindowTitle( "Multipath Analyses: " +_fileName);57 setWindowTitle(_fileName); 58 58 59 59 int ww = QFontMetrics(font()).width('w'); … … 159 159 _canvas->render(&painter); 160 160 QDir dir(dirName); 161 QString fileName = dir.path() + QDir::separator() + _fileName + ".png"; 161 QFileInfo fileInfo(_fileName); 162 QString fileName = dir.path() + QDir::separator() 163 + fileInfo.completeBaseName() + ".png"; 162 164 image.save(fileName,"PNG"); 163 165 }
Note:
See TracChangeset
for help on using the changeset viewer.