author | tille <tille> | 2003-05-22 15:10:21 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-22 15:10:21 (UTC) |
commit | 00cbc1e933f90fe67f53928472567ddf4a17eabd (patch) (unidiff) | |
tree | f5e0d34303afcc688a0ad38be5e5489f6f0c8a6f /noncore/settings/networksettings/mainwindowimp.cpp | |
parent | 273857932d4d4af9bf78bfca92f2986163e5f4f6 (diff) | |
download | opie-00cbc1e933f90fe67f53928472567ddf4a17eabd.zip opie-00cbc1e933f90fe67f53928472567ddf4a17eabd.tar.gz opie-00cbc1e933f90fe67f53928472567ddf4a17eabd.tar.bz2 |
pppplugin
Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.cpp') (more/less context) (show whitespace changes)
-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){ | |||
245 | if(fi->fileName().contains(".so") && fi->fileName().contains("networksettings_")){ | 245 | if(fi->fileName().contains(".so") && fi->fileName().contains("networksettings_")){ |
246 | #endif | 246 | #endif |
247 | loadPlugin(path + "/" + fi->fileName()); | 247 | loadPlugin(path + "/" + fi->fileName()); |
248 | qDebug("loaded plugin: >%s< ",QString(path + "/" + fi->fileName()).latin1()); | ||
248 | } | 249 | } |
249 | ++it; | 250 | ++it; |
250 | } | 251 | } |
@@ -287,9 +288,7 @@ Module* MainWindowImp::loadPlugin(const QString &pluginFileName, const QString & | |||
287 | #else | 288 | #else |
288 | QLibrary *lib = loader->library(pluginFileName); | 289 | QLibrary *lib = loader->library(pluginFileName); |
289 | if( !lib || !lib->hasSymbol(resolveString) ){ | 290 | if( !lib || !lib->hasSymbol(resolveString) ){ |
290 | #ifdef DEBUG | ||
291 | qDebug(QString("MainWindowImp::loadPlugin: File: %1 is not a plugin, but though was.").arg(pluginFileName).latin1()); | 291 | qDebug(QString("MainWindowImp::loadPlugin: File: %1 is not a plugin, but though was.").arg(pluginFileName).latin1()); |
292 | #endif | ||
293 | return NULL; | 292 | return NULL; |
294 | } | 293 | } |
295 | // Try to get an object. | 294 | // Try to get an object. |
@@ -341,6 +340,7 @@ void MainWindowImp::addClicked(){ | |||
341 | if(it.key()){ | 340 | if(it.key()){ |
342 | Interface *i = (it.key())->addNewInterface(item->text(0)); | 341 | Interface *i = (it.key())->addNewInterface(item->text(0)); |
343 | if(i){ | 342 | if(i){ |
343 | qDebug("iface name %s",i->getInterfaceName().latin1()); | ||
344 | interfaceNames.insert(i->getInterfaceName(), i); | 344 | interfaceNames.insert(i->getInterfaceName(), i); |
345 | updateInterface(i); | 345 | updateInterface(i); |
346 | } | 346 | } |