Changeset 5059 in ntrip for trunk/GnssCenter/main/mainwin.cpp


Ignore:
Timestamp:
Mar 28, 2013, 7:40:12 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5058 r5059  
    136136  t_pluginAction* action = dynamic_cast<t_pluginAction*>(sender());
    137137  qDebug() << "Action" << action;
    138   t_pluginInterface* widget = action->_factIface->create();
    139 //  QMdiSubWindow* win = _mdi->addSubWindow(svgMap);
    140   widget->show();
     138  QWidget* widget = action->_factIface->create();
     139  QMdiSubWindow* subWindow = _mdi->addSubWindow((QWidget*) widget);
     140  subWindow->show();
    141141}
    142142
Note: See TracChangeset for help on using the changeset viewer.