summaryrefslogtreecommitdiffstats
path: root/korganizer
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 /korganizer
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 'korganizer')
-rw-r--r--korganizer/printing/cellitem.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/korganizer/printing/cellitem.h b/korganizer/printing/cellitem.h
index 9e1beb6ca..e4a37da06 100644
--- a/korganizer/printing/cellitem.h
+++ b/korganizer/printing/cellitem.h
@@ -38,13 +38,14 @@ class KDE_EXPORT CellItem
: mSubCells( 0 ), mSubCell( -1 )
{
}
-
+ virtual ~CellItem() {}
+
void setSubCells( int v ) { mSubCells = v; }
int subCells() const { return mSubCells; }
-
+
void setSubCell( int v ) { mSubCell = v; }
int subCell() const { return mSubCell; }
-
+
virtual bool overlaps( CellItem *other ) const = 0;
virtual TQString label() const;