-rw-r--r-- | libkdepim/categoryselectdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libkdepim/categoryselectdialog.cpp b/libkdepim/categoryselectdialog.cpp index 8b2bc4e..8038934 100644 --- a/libkdepim/categoryselectdialog.cpp +++ b/libkdepim/categoryselectdialog.cpp @@ -137,17 +137,16 @@ void CategorySelectDialog::setColorCat() setColorItem( newColorItem ); } void CategorySelectDialog::clicked ( QListViewItem * it ) { if ( ! it ) return; QCheckListItem *i = (QCheckListItem *) it; - qDebug("click %d ", i->isOn()); if ( !i->isOn() && i==mColorItem) { setColorItem( 0); QCheckListItem *item = (QCheckListItem *)mCategories->firstChild(); while (item) { if (item->isOn()) { setColorItem( item ); break; } @@ -164,17 +163,17 @@ void CategorySelectDialog::setColorItem( QCheckListItem * newColorItem ) if ( mColorItem == newColorItem) return; if ( mColorItem ) { mColorItem->setPixmap ( 0, QPixmap() ); mColorItem = 0; } if ( newColorItem ) { QPixmap pix (newColorItem->height()/2, newColorItem->height()/2 ); - pix.fill(Qt::blue ); + pix.fill(Qt::red ); newColorItem->setPixmap ( 0, pix ); mColorItem = newColorItem; } } void CategorySelectDialog::slotApply() { QStringList categories; QCheckListItem *item = (QCheckListItem *)mCategories->firstChild(); |