Changeset 5411 in ntrip


Ignore:
Timestamp:
Sep 10, 2013, 3:50:09 PM (8 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5410 r5411  
    4343
    4444  foreach (QString fileName, pluginsDir.entryList(QDir::Files)) {
    45     qDebug() << pluginsDir.absoluteFilePath(fileName);
    4645    QPluginLoader loader(pluginsDir.absoluteFilePath(fileName));
    47     qDebug() << loader.errorString();
    4846    QObject* object = loader.instance();
    49     qDebug() << object;
    50     qDebug() << loader.errorString();
    51     if (object) {
     47    if (!object) {
     48      qDebug() << loader.errorString();
     49    }
     50    else {
    5251      t_pluginFactoryInterface* plugin = qobject_cast<t_pluginFactoryInterface*>(object);
    5352      if (plugin) {
Note: See TracChangeset for help on using the changeset viewer.