author | zautrix <zautrix> | 2005-06-15 21:00:30 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-15 21:00:30 (UTC) |
commit | 4a9b5ad578e991f6216dc0556022a76223165f15 (patch) (side-by-side diff) | |
tree | 41017358760a4db4b47e38a0364c219ed4760411 | |
parent | e74483434835ad799b1a6880ae4576aacb14624a (diff) | |
download | kdepimpi-4a9b5ad578e991f6216dc0556022a76223165f15.zip kdepimpi-4a9b5ad578e991f6216dc0556022a76223165f15.tar.gz kdepimpi-4a9b5ad578e991f6216dc0556022a76223165f15.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/kotodoview.cpp | 15 | ||||
-rw-r--r-- | korganizer/kotodoviewitem.cpp | 1 |
2 files changed, 6 insertions, 10 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 35c2a9f..b2ff33b 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -430,2 +430,3 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : mTodoListView->addColumn(i18n("Categories")); + mTodoListView->addColumn(i18n("Calendar")); #if 0 @@ -439,12 +440,6 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : mTodoListView->setColumnWidth( 0, 120 ); - mTodoListView->setColumnWidthMode(0, QListView::Manual); - mTodoListView->setColumnWidthMode(1, QListView::Manual); - mTodoListView->setColumnWidthMode(2, QListView::Manual); - mTodoListView->setColumnWidthMode(3, QListView::Manual); - mTodoListView->setColumnWidthMode(4, QListView::Manual); - mTodoListView->setColumnWidthMode(5, QListView::Manual); - mTodoListView->setColumnWidthMode(6, QListView::Manual); - mTodoListView->setColumnWidthMode(7, QListView::Manual); - mTodoListView->setColumnWidthMode(8, QListView::Manual); - + int iii = 0; + for ( iii = 0; iii< 10 ; ++iii ) + mTodoListView->setColumnWidthMode( iii, QListView::Manual ); + diff --git a/korganizer/kotodoviewitem.cpp b/korganizer/kotodoviewitem.cpp index 748f3e4..f62aab8 100644 --- a/korganizer/kotodoviewitem.cpp +++ b/korganizer/kotodoviewitem.cpp @@ -157,2 +157,3 @@ void KOTodoViewItem::construct() setText(8,mTodo->categoriesStr()); + setText(9,KOPrefs::instance()->calName( mTodo->calID())); |