-rw-r--r-- | korganizer/kofilterview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index 52bc463..a653c18 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp | |||
@@ -343,14 +343,14 @@ void KOCalEditView::readConfig() | |||
343 | cb->setNum( kkf->mCalNumber ); | 343 | cb->setNum( kkf->mCalNumber ); |
344 | connect (cb, SIGNAL (selectNum(int,bool)), SLOT ( selectReadOnly(int,bool) ) ); | 344 | connect (cb, SIGNAL (selectNum(int,bool)), SLOT ( selectReadOnly(int,bool) ) ); |
345 | if ( kkf->mErrorOnLoad ) | 345 | if ( kkf->mErrorOnLoad ) |
346 | cb->setEnabled( false ); | 346 | cb->setEnabled( false ); |
347 | KColorButton *colb = new KColorButton( mw ); | ||
348 | mainLayout->addWidget( colb,row,++iii ); | ||
349 | colb->setID( kkf->mCalNumber ); | ||
350 | colb->setColor( kkf->mDefaultColor ); | ||
351 | connect (colb, SIGNAL (changedID(const QColor&, int )), SLOT ( setColor(const QColor&,int) ) ); | ||
352 | if ( row > 1) { | 347 | if ( row > 1) { |
348 | KColorButton *colb = new KColorButton( mw ); | ||
349 | mainLayout->addWidget( colb,row,++iii ); | ||
350 | colb->setID( kkf->mCalNumber ); | ||
351 | colb->setColor( kkf->mDefaultColor ); | ||
352 | connect (colb, SIGNAL (changedID(const QColor&, int )), SLOT ( setColor(const QColor&,int) ) ); | ||
353 | KOCalButton* calb = new KOCalButton( mw ); | 353 | KOCalButton* calb = new KOCalButton( mw ); |
354 | mainLayout->addWidget( calb,row,++iii ); | 354 | mainLayout->addWidget( calb,row,++iii ); |
355 | calb->setNum( kkf->mCalNumber ); | 355 | calb->setNum( kkf->mCalNumber ); |
356 | calb->setPixmap ( SmallIcon("minus")); | 356 | calb->setPixmap ( SmallIcon("minus")); |