summaryrefslogtreecommitdiff
path: root/core/pim/today/today.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/today/today.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp7
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() {
pluginListRefreshExclude.insert( (*tit).name , (*tit) );
- qDebug( "Found an plugin that does not want refresh feature" );
+ qDebug( "Found a plugin that does not want refresh feature" );
} else {
+ (*tit).guiBox->hide();
+ (*tit).guiBox->reparent( 0, QPoint( 0, 0 ) );
(*tit).library->unload();
+ delete (*tit).guiBox;
delete (*tit).library;
@@ -178,3 +181,3 @@ void Today::loadPlugins() {
if ( lib->queryInterface( IID_TodayPluginInterface, (QUnknownInterface**)&iface ) == QS_OK ) {
- qDebug( "loading: %s", QString( path + "/" + *it ).latin1() );
+ qDebug( "accepted: %s", QString( path + "/" + *it ).latin1() );
qDebug( QString(*it) );