-rw-r--r-- | korganizer/kotodoview.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 35c2a9f..b2ff33b 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -428,6 +428,7 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : | |||
428 | 428 | ||
429 | mTodoListView->addColumn(i18n("Cancelled")); | 429 | mTodoListView->addColumn(i18n("Cancelled")); |
430 | mTodoListView->addColumn(i18n("Categories")); | 430 | mTodoListView->addColumn(i18n("Categories")); |
431 | mTodoListView->addColumn(i18n("Calendar")); | ||
431 | #if 0 | 432 | #if 0 |
432 | mTodoListView->addColumn(i18n("Sort Id")); | 433 | mTodoListView->addColumn(i18n("Sort Id")); |
433 | mTodoListView->setColumnAlignment(4,AlignHCenter); | 434 | mTodoListView->setColumnAlignment(4,AlignHCenter); |
@@ -437,15 +438,9 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : | |||
437 | mTodoListView->setItemsRenameable( true ); | 438 | mTodoListView->setItemsRenameable( true ); |
438 | mTodoListView->setRenameable( 0 ); | 439 | mTodoListView->setRenameable( 0 ); |
439 | mTodoListView->setColumnWidth( 0, 120 ); | 440 | mTodoListView->setColumnWidth( 0, 120 ); |
440 | mTodoListView->setColumnWidthMode(0, QListView::Manual); | 441 | int iii = 0; |
441 | mTodoListView->setColumnWidthMode(1, QListView::Manual); | 442 | for ( iii = 0; iii< 10 ; ++iii ) |
442 | mTodoListView->setColumnWidthMode(2, QListView::Manual); | 443 | mTodoListView->setColumnWidthMode( iii, QListView::Manual ); |
443 | mTodoListView->setColumnWidthMode(3, QListView::Manual); | ||
444 | mTodoListView->setColumnWidthMode(4, QListView::Manual); | ||
445 | mTodoListView->setColumnWidthMode(5, QListView::Manual); | ||
446 | mTodoListView->setColumnWidthMode(6, QListView::Manual); | ||
447 | mTodoListView->setColumnWidthMode(7, QListView::Manual); | ||
448 | mTodoListView->setColumnWidthMode(8, QListView::Manual); | ||
449 | 444 | ||
450 | 445 | ||
451 | mKOTodoViewWhatsThis = new KOTodoViewWhatsThis(mTodoListView->viewport(),this); | 446 | mKOTodoViewWhatsThis = new KOTodoViewWhatsThis(mTodoListView->viewport(),this); |