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


Ignore:
Timestamp:
Mar 28, 2013, 6:43:15 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5045 r5052  
    4141    QPluginLoader loader(pluginsDir.absoluteFilePath(fileName));
    4242    QObject* object = loader.instance();
    43     qDebug() << fileName << object;
    44 
     43    qDebug() << pluginsDir.absoluteFilePath(fileName) << object;
    4544    if (object) {
    46       t_pluginInterface* plugin = qobject_cast<t_pluginInterface*>(object);
     45      t_pluginFactoryInterface* plugin = qobject_cast<t_pluginFactoryInterface*>(object);
    4746      qDebug() << "Plugin: " << plugin; 
    4847      if (plugin) {
    49         plugin->show();
     48        t_pluginInterface* widget = plugin->create();
     49        widget->show();
    5050      }
    5151    }
Note: See TracChangeset for help on using the changeset viewer.