Changeset 5015 in ntrip for trunk/GnssCenter/src/mainwin.cpp


Ignore:
Timestamp:
Mar 28, 2013, 2:32:27 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/src/mainwin.cpp

    r5011 r5015  
    2121#include "plugininterface.h"
    2222#include "map/svgmap.h"
    23 #include "inpedit/inpfile.h"
     23#include "inpedit/inpedit.h"
    2424
    2525using namespace std;
     
    126126  QString fileName = QFileDialog::getOpenFileName(this);
    127127  if (!fileName.isEmpty()) {
    128     t_inpFile* inpFile = new t_inpFile(fileName);
    129     QMdiSubWindow* win = _mdi->addSubWindow(inpFile);
     128    t_inpEdit* inpEdit = new t_inpEdit();
     129    inpEdit->setInputFile(fileName);
     130    QMdiSubWindow* win = _mdi->addSubWindow(inpEdit);
    130131    win->show();
    131132  }
Note: See TracChangeset for help on using the changeset viewer.