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 /korganizer/printing/cellitem.h | |
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 'korganizer/printing/cellitem.h')
-rw-r--r-- | korganizer/printing/cellitem.h | 7 |
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; |