diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-06 15:17:15 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-06 15:17:15 -0600 |
commit | 6e9f8cb7044774da171b2a0f6ffdda579eb9ddab (patch) | |
tree | 8078dd1ba3a4b5ec1d651c09156cf18e2cba9d51 /kontact/interfaces | |
parent | 96cf12b16ab69bcb2df0773091ba9751e9219446 (diff) | |
download | tdepim-6e9f8cb7044774da171b2a0f6ffdda579eb9ddab.tar.gz tdepim-6e9f8cb7044774da171b2a0f6ffdda579eb9ddab.zip |
Fix Kontact crash in Akregator part due to identical destructor signatures being generated for two unrelated classesr14.0.0
This relates to Bug 2235
Fix a slew of non-virtual destructor problems
Diffstat (limited to 'kontact/interfaces')
-rw-r--r-- | kontact/interfaces/plugin.h | 3 | ||||
-rw-r--r-- | kontact/interfaces/uniqueapphandler.h | 2 |
2 files changed, 3 insertions, 2 deletions
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; }; |