-rw-r--r-- | core/pim/today/today.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 76bd6de..91028c8 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -154,5 +154,8 @@ void Today::loadPlugins() { | |||
154 | pluginListRefreshExclude.insert( (*tit).name , (*tit) ); | 154 | pluginListRefreshExclude.insert( (*tit).name , (*tit) ); |
155 | qDebug( "Found an plugin that does not want refresh feature" ); | 155 | qDebug( "Found a plugin that does not want refresh feature" ); |
156 | } else { | 156 | } else { |
157 | (*tit).guiBox->hide(); | ||
158 | (*tit).guiBox->reparent( 0, QPoint( 0, 0 ) ); | ||
157 | (*tit).library->unload(); | 159 | (*tit).library->unload(); |
160 | delete (*tit).guiBox; | ||
158 | delete (*tit).library; | 161 | delete (*tit).library; |
@@ -178,3 +181,3 @@ void Today::loadPlugins() { | |||
178 | if ( lib->queryInterface( IID_TodayPluginInterface, (QUnknownInterface**)&iface ) == QS_OK ) { | 181 | if ( lib->queryInterface( IID_TodayPluginInterface, (QUnknownInterface**)&iface ) == QS_OK ) { |
179 | qDebug( "loading: %s", QString( path + "/" + *it ).latin1() ); | 182 | qDebug( "accepted: %s", QString( path + "/" + *it ).latin1() ); |
180 | qDebug( QString(*it) ); | 183 | qDebug( QString(*it) ); |