author | harlekin <harlekin> | 2003-01-31 17:29:47 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-01-31 17:29:47 (UTC) |
commit | 22e4e7263314b0ebcafedc2b1d67ecae69a5d10f (patch) (unidiff) | |
tree | 0538e1c7d4458348b2187d82e9fae73d780ca804 | |
parent | 0d5ec3a2162111161fed2022851ebfbc4d6d0333 (diff) | |
download | opie-22e4e7263314b0ebcafedc2b1d67ecae69a5d10f.zip opie-22e4e7263314b0ebcafedc2b1d67ecae69a5d10f.tar.gz opie-22e4e7263314b0ebcafedc2b1d67ecae69a5d10f.tar.bz2 |
leaks less now, still one more leak to go
-rw-r--r-- | core/pim/today/changelog | 5 | ||||
-rw-r--r-- | core/pim/today/today.cpp | 7 |
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,2 +1,7 @@ | |||
1 | 0.6.1 | ||
2 | |||
3 | * datebook plugin now can now also show following days | ||
4 | * fixed one mem leak | ||
5 | |||
1 | 0.6 | 6 | 0.6 |
2 | 7 | ||
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 | |||
@@ -153,7 +153,10 @@ void Today::loadPlugins() { | |||
153 | if ( (*tit).excludeRefresh ) { | 153 | if ( (*tit).excludeRefresh ) { |
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; |
159 | } | 162 | } |
@@ -177,5 +180,5 @@ void Today::loadPlugins() { | |||
177 | qDebug( "querying: %s", QString( path + "/" + *it ).latin1() ); | 180 | qDebug( "querying: %s", QString( path + "/" + *it ).latin1() ); |
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) ); |
181 | 184 | ||