summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/weather/weatherpluginimpl.cpp
Side-by-side diff
Diffstat (limited to 'noncore/todayplugins/weather/weatherpluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/weather/weatherpluginimpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/todayplugins/weather/weatherpluginimpl.cpp b/noncore/todayplugins/weather/weatherpluginimpl.cpp
index b5c7d0a..1a7c27b 100644
--- a/noncore/todayplugins/weather/weatherpluginimpl.cpp
+++ b/noncore/todayplugins/weather/weatherpluginimpl.cpp
@@ -27,24 +27,25 @@
*/
#include "weatherplugin.h"
#include "weatherpluginimpl.h"
WeatherPluginImpl::WeatherPluginImpl()
{
weatherPlugin = new WeatherPlugin();
}
WeatherPluginImpl::~WeatherPluginImpl()
{
+ delete weatherPlugin;
}
TodayPluginObject* WeatherPluginImpl::guiPart()
{
return weatherPlugin;
}
QRESULT WeatherPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
{
*iface = 0;
if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) )