summaryrefslogtreecommitdiffstats
path: root/libkcal
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-12-06 15:17:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-12-06 15:17:15 -0600
commit6e9f8cb7044774da171b2a0f6ffdda579eb9ddab (patch)
tree8078dd1ba3a4b5ec1d651c09156cf18e2cba9d51 /libkcal
parent96cf12b16ab69bcb2df0773091ba9751e9219446 (diff)
downloadtdepim-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 'libkcal')
-rw-r--r--libkcal/calendarresources.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libkcal/calendarresources.h b/libkcal/calendarresources.h
index c9d2e3341..bb756f85f 100644
--- a/libkcal/calendarresources.h
+++ b/libkcal/calendarresources.h
@@ -77,6 +77,7 @@ class LIBKCAL_EXPORT CalendarResources :
DestinationPolicy( CalendarResourceManager *manager,
TQWidget *parent = 0 ) :
mManager( manager ), mParent( parent ) {}
+ virtual ~DestinationPolicy() {}
virtual ResourceCalendar *destination( Incidence *incidence ) = 0;
virtual TQWidget *parent() { return mParent; }
@@ -100,6 +101,7 @@ class LIBKCAL_EXPORT CalendarResources :
StandardDestinationPolicy( CalendarResourceManager *manager,
TQWidget *parent = 0 ) :
DestinationPolicy( manager, parent ) {}
+ virtual ~StandardDestinationPolicy() {}
ResourceCalendar *destination( Incidence *incidence );
@@ -117,6 +119,7 @@ class LIBKCAL_EXPORT CalendarResources :
AskDestinationPolicy( CalendarResourceManager *manager,
TQWidget *parent = 0 ) :
DestinationPolicy( manager, parent ) {}
+ virtual ~AskDestinationPolicy() {}
ResourceCalendar *destination( Incidence *incidence );