summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/changelog5
-rw-r--r--core/pim/today/today.cpp7
2 files changed, 10 insertions, 2 deletions
diff --git a/core/pim/today/changelog b/core/pim/today/changelog
index ba3cdbc..ea618c8 100644
--- a/core/pim/today/changelog
+++ b/core/pim/today/changelog
@@ -1,3 +1,8 @@
+0.6.1
+
+* datebook plugin now can now also show following days
+* fixed one mem leak
+
0.6
* longer refresh intervals possible
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
@@ -152,9 +152,12 @@ void Today::loadPlugins() {
for ( tit = pluginList.begin(); tit != pluginList.end(); ++tit ) {
if ( (*tit).excludeRefresh ) {
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;
}
}
@@ -176,7 +179,7 @@ void Today::loadPlugins() {
qDebug( "querying: %s", QString( path + "/" + *it ).latin1() );
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) );
// If plugin is exludes from refresh, get it in the list again here.