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


Ignore:
Timestamp:
Jul 29, 2012, 5:21:34 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4450 r4451  
    151151// Save the Widget as PNG Files
    152152////////////////////////////////////////////////////////////////////////////
    153 void t_graphWin::savePNG() {
     153void t_graphWin::savePNG(const QString& dirName) {
     154  if (dirName.isEmpty()) {
     155    return;
     156  }
    154157  QImage image(_canvas->size(), QImage::Format_RGB32);
    155158  QPainter painter(&image);
Note: See TracChangeset for help on using the changeset viewer.