-rw-r--r-- | core/pim/today/today.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 7decf8e..09540bd 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -115,19 +115,18 @@ void Today::init() { /** * Load the plugins */ void Today::loadPlugins() { - qWarning("pluginList count %d", pluginList.count() ); + QValueList<TodayPlugin>::Iterator tit; for ( tit = pluginList.begin(); tit != pluginList.end(); ++tit ) { (*tit).library->unload(); delete (*tit).library; } - pluginList.clear(); QString path = QPEApplication::qpeDir() + "/plugins/today"; QDir dir( path, "lib*.so" ); QStringList list = dir.entryList(); QStringList::Iterator it; @@ -156,13 +155,12 @@ void Today::loadPlugins() { count++; } else { qDebug( "could not recognize %s", QString( path + "/" + *it ).latin1() ); delete lib; } } - qWarning("pluginList count end %d", pluginList.count() ); } /** * Repaint method. Reread all fields. */ |