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/interfaces/plugin.h | 3 +-- kontact/interfaces/uniqueapphandler.h | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'kontact/interfaces') diff --git a/kontact/interfaces/plugin.h b/kontact/interfaces/plugin.h index c4d573abe..3d8c66cf5 100644 --- a/kontact/interfaces/plugin.h +++ b/kontact/interfaces/plugin.h @@ -58,7 +58,6 @@ class Summary; class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient { Q_OBJECT - public: /** @@ -71,7 +70,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient */ Plugin( Core *core, TQObject *parent, const char *name ); - ~Plugin(); + virtual ~Plugin(); /** Sets the identifier. diff --git a/kontact/interfaces/uniqueapphandler.h b/kontact/interfaces/uniqueapphandler.h index 3af1a8773..6ecc23812 100644 --- a/kontact/interfaces/uniqueapphandler.h +++ b/kontact/interfaces/uniqueapphandler.h @@ -63,6 +63,8 @@ class KDE_EXPORT UniqueAppHandler : public DCOPObject class UniqueAppHandlerFactoryBase { public: + UniqueAppHandlerFactoryBase() {} + virtual ~UniqueAppHandlerFactoryBase() {} virtual UniqueAppHandler* createHandler( Plugin* ) = 0; }; -- cgit v1.2.1