author | zautrix <zautrix> | 2005-01-11 18:17:09 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-11 18:17:09 (UTC) |
commit | b7753438e51d9b87da7d802ef1f5ac092e3266dd (patch) (unidiff) | |
tree | 493030cc2217def407de4a1b8254a9e288b33585 | |
parent | 1ce6538c94c7eea930b439eb9c7a7dea020aaace (diff) | |
download | kdepimpi-b7753438e51d9b87da7d802ef1f5ac092e3266dd.zip kdepimpi-b7753438e51d9b87da7d802ef1f5ac092e3266dd.tar.gz kdepimpi-b7753438e51d9b87da7d802ef1f5ac092e3266dd.tar.bz2 |
ole fix
-rw-r--r-- | korganizer/koimportoldialog.cpp | 6 |
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 | |||
@@ -74,7 +74,7 @@ class OLEListViewItem : public QCheckListItem | |||
74 | public: | 74 | public: |
75 | OLEListViewItem( QListView *parent, QString text ) : | 75 | OLEListViewItem( QListView *parent, QString text ) : |
76 | QCheckListItem( parent, text, QCheckListItem::CheckBox ) { ; }; | 76 | QCheckListItem( parent, text, QCheckListItem::CheckBox ) { mData = 0; }; |
77 | OLEListViewItem( QListViewItem *after, QString text ) : | 77 | OLEListViewItem( QListViewItem *after, QString text ) : |
78 | QCheckListItem( after, text, QCheckListItem::CheckBox ) { ; }; | 78 | QCheckListItem( after, text, QCheckListItem::CheckBox ) { mData = 0; }; |
79 | ~OLEListViewItem() {}; | 79 | ~OLEListViewItem() {}; |
80 | void setData( DWORD data ) {mData= data; }; | 80 | void setData( DWORD data ) {mData= data; }; |
@@ -193,5 +193,5 @@ void KOImportOLdialog::slotApply() | |||
193 | OLEListViewItem* child = (OLEListViewItem*) mListView->firstChild(); | 193 | OLEListViewItem* child = (OLEListViewItem*) mListView->firstChild(); |
194 | while ( child ) { | 194 | while ( child ) { |
195 | if ( child->isOn() ) | 195 | if ( child->isOn()&& child->data() ) |
196 | readCalendarData( child->data() ); | 196 | readCalendarData( child->data() ); |
197 | child = (OLEListViewItem*) child->itemBelow(); | 197 | child = (OLEListViewItem*) child->itemBelow(); |