From b7753438e51d9b87da7d802ef1f5ac092e3266dd Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 11 Jan 2005 18:17:09 +0000 Subject: ole fix --- (limited to 'korganizer') diff --git a/korganizer/koimportoldialog.cpp b/korganizer/koimportoldialog.cpp index c0bde0d..cc13395 100644 --- a/korganizer/koimportoldialog.cpp +++ b/korganizer/koimportoldialog.cpp @@ -73,9 +73,9 @@ class OLEListViewItem : public QCheckListItem { public: 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() {}; void setData( DWORD data ) {mData= data; }; DWORD data() { return mData ;}; @@ -192,7 +192,7 @@ void KOImportOLdialog::slotApply() importedItems = 0; OLEListViewItem* child = (OLEListViewItem*) mListView->firstChild(); while ( child ) { - if ( child->isOn() ) + if ( child->isOn()&& child->data() ) readCalendarData( child->data() ); child = (OLEListViewItem*) child->itemBelow(); } -- cgit v0.9.0.2