summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koimportoldialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/koimportoldialog.cpp b/korganizer/koimportoldialog.cpp
index c0bde0d..cc13395 100644
--- a/korganizer/koimportoldialog.cpp
+++ b/korganizer/koimportoldialog.cpp
@@ -75,5 +75,5 @@ class OLEListViewItem : public QCheckListItem
OLEListViewItem( QListView *parent, QString text ) :
- QCheckListItem( parent, text, QCheckListItem::CheckBox ) { ; };
+ QCheckListItem( parent, text, QCheckListItem::CheckBox ) { mData = 0; };
OLEListViewItem( QListViewItem *after, QString text ) :
- QCheckListItem( after, text, QCheckListItem::CheckBox ) { ; };
+ QCheckListItem( after, text, QCheckListItem::CheckBox ) { mData = 0; };
~OLEListViewItem() {};
@@ -194,3 +194,3 @@ void KOImportOLdialog::slotApply()
while ( child ) {
- if ( child->isOn() )
+ if ( child->isOn()&& child->data() )
readCalendarData( child->data() );