-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 | |||
@@ -118,13 +118,12 @@ void Today::init() { | |||
118 | * Load the plugins | 118 | * Load the plugins |
119 | */ | 119 | */ |
120 | void Today::loadPlugins() { | 120 | void Today::loadPlugins() { |
121 | qWarning("pluginList count %d", pluginList.count() ); | 121 | |
122 | QValueList<TodayPlugin>::Iterator tit; | 122 | QValueList<TodayPlugin>::Iterator tit; |
123 | for ( tit = pluginList.begin(); tit != pluginList.end(); ++tit ) { | 123 | for ( tit = pluginList.begin(); tit != pluginList.end(); ++tit ) { |
124 | (*tit).library->unload(); | 124 | (*tit).library->unload(); |
125 | delete (*tit).library; | 125 | delete (*tit).library; |
126 | } | 126 | } |
127 | pluginList.clear(); | ||
128 | 127 | ||
129 | QString path = QPEApplication::qpeDir() + "/plugins/today"; | 128 | QString path = QPEApplication::qpeDir() + "/plugins/today"; |
130 | QDir dir( path, "lib*.so" ); | 129 | QDir dir( path, "lib*.so" ); |
@@ -159,7 +158,6 @@ void Today::loadPlugins() { | |||
159 | delete lib; | 158 | delete lib; |
160 | } | 159 | } |
161 | } | 160 | } |
162 | qWarning("pluginList count end %d", pluginList.count() ); | ||
163 | } | 161 | } |
164 | 162 | ||
165 | 163 | ||