From 6e9f8cb7044774da171b2a0f6ffdda579eb9ddab Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 6 Dec 2014 15:17:15 -0600 Subject: Fix Kontact crash in Akregator part due to identical destructor signatures being generated for two unrelated classes This relates to Bug 2235 Fix a slew of non-virtual destructor problems --- kontact/plugins/weather/weather_plugin.cpp | 4 ++++ kontact/plugins/weather/weather_plugin.h | 1 + 2 files changed, 5 insertions(+) (limited to 'kontact/plugins/weather') diff --git a/kontact/plugins/weather/weather_plugin.cpp b/kontact/plugins/weather/weather_plugin.cpp index a1decfbb2..93a97bfc9 100644 --- a/kontact/plugins/weather/weather_plugin.cpp +++ b/kontact/plugins/weather/weather_plugin.cpp @@ -37,6 +37,10 @@ WeatherPlugin::WeatherPlugin( Kontact::Core *core, const char *name, const TQStr setInstance( WeatherPluginFactory::instance() ); } +WeatherPlugin::~WeatherPlugin() +{ +} + Kontact::Summary *WeatherPlugin::createSummaryWidget( TQWidget *parentWidget ) { return new SummaryWidget( parentWidget ); diff --git a/kontact/plugins/weather/weather_plugin.h b/kontact/plugins/weather/weather_plugin.h index ecf2a6fee..a7eb5b613 100644 --- a/kontact/plugins/weather/weather_plugin.h +++ b/kontact/plugins/weather/weather_plugin.h @@ -30,6 +30,7 @@ class WeatherPlugin : public Kontact::Plugin public: WeatherPlugin( Kontact::Core *core, const char *name, const TQStringList& ); WeatherPlugin(); + virtual ~WeatherPlugin(); virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget ); -- cgit v1.2.1