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/newsticker/newsticker_plugin.cpp | 4 ++++ kontact/plugins/newsticker/newsticker_plugin.h | 1 + 2 files changed, 5 insertions(+) (limited to 'kontact/plugins/newsticker') diff --git a/kontact/plugins/newsticker/newsticker_plugin.cpp b/kontact/plugins/newsticker/newsticker_plugin.cpp index b00cc0ac3..04d46883f 100644 --- a/kontact/plugins/newsticker/newsticker_plugin.cpp +++ b/kontact/plugins/newsticker/newsticker_plugin.cpp @@ -37,6 +37,10 @@ NewsTickerPlugin::NewsTickerPlugin( Kontact::Core *core, const char *name, const setInstance( NewsTickerPluginFactory::instance() ); } +NewsTickerPlugin::~NewsTickerPlugin() +{ +} + Kontact::Summary *NewsTickerPlugin::createSummaryWidget( TQWidget* parentWidget ) { return new SummaryWidget( parentWidget ); diff --git a/kontact/plugins/newsticker/newsticker_plugin.h b/kontact/plugins/newsticker/newsticker_plugin.h index b3c0b651d..ebaf34b45 100644 --- a/kontact/plugins/newsticker/newsticker_plugin.h +++ b/kontact/plugins/newsticker/newsticker_plugin.h @@ -30,6 +30,7 @@ class NewsTickerPlugin : public Kontact::Plugin public: NewsTickerPlugin( Kontact::Core *core, const char *name, const TQStringList& ); NewsTickerPlugin(); + virtual ~NewsTickerPlugin(); virtual Kontact::Summary *createSummaryWidget( TQWidget* parentWidget ); -- cgit v1.2.1