-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp index 7e24cda..56bbd2c 100644 --- a/noncore/settings/networksettings/mainwindowimp.cpp +++ b/noncore/settings/networksettings/mainwindowimp.cpp @@ -245,6 +245,7 @@ void MainWindowImp::loadModules(const QString &path){ if(fi->fileName().contains(".so") && fi->fileName().contains("networksettings_")){
#endif
loadPlugin(path + "/" + fi->fileName());
+ qDebug("loaded plugin: >%s< ",QString(path + "/" + fi->fileName()).latin1()); }
++it;
}
@@ -287,9 +288,7 @@ Module* MainWindowImp::loadPlugin(const QString &pluginFileName, const QString & #else
QLibrary *lib = loader->library(pluginFileName);
if( !lib || !lib->hasSymbol(resolveString) ){
-#ifdef DEBUG
qDebug(QString("MainWindowImp::loadPlugin: File: %1 is not a plugin, but though was.").arg(pluginFileName).latin1());
-#endif
return NULL;
}
// Try to get an object.
@@ -341,6 +340,7 @@ void MainWindowImp::addClicked(){ if(it.key()){
Interface *i = (it.key())->addNewInterface(item->text(0));
if(i){
+ qDebug("iface name %s",i->getInterfaceName().latin1()); interfaceNames.insert(i->getInterfaceName(), i);
updateInterface(i);
}
|