Changeset 4454 in ntrip for trunk/BNC/src/rinex/graphwin.cpp


Ignore:
Timestamp:
Jul 31, 2012, 9:07:06 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4452 r4454  
    5555  this->setAttribute(Qt::WA_DeleteOnClose);
    5656
    57   setWindowTitle("Multipath Analyses: " + _fileName);
     57  setWindowTitle(_fileName);
    5858
    5959  int ww = QFontMetrics(font()).width('w');
     
    159159  _canvas->render(&painter);
    160160  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";
    162164  image.save(fileName,"PNG");
    163165}
Note: See TracChangeset for help on using the changeset viewer.