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


Ignore:
Timestamp:
Jul 29, 2012, 5:38:56 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 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}
Note: See TracChangeset for help on using the changeset viewer.