-rw-r--r-- | korganizer/kofilterview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index 52bc463..a653c18 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp | |||
@@ -344,12 +344,12 @@ void KOCalEditView::readConfig() | |||
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 | if ( row > 1) { | ||
347 | KColorButton *colb = new KColorButton( mw ); | 348 | KColorButton *colb = new KColorButton( mw ); |
348 | mainLayout->addWidget( colb,row,++iii ); | 349 | mainLayout->addWidget( colb,row,++iii ); |
349 | colb->setID( kkf->mCalNumber ); | 350 | colb->setID( kkf->mCalNumber ); |
350 | colb->setColor( kkf->mDefaultColor ); | 351 | colb->setColor( kkf->mDefaultColor ); |
351 | connect (colb, SIGNAL (changedID(const QColor&, int )), SLOT ( setColor(const QColor&,int) ) ); | 352 | connect (colb, SIGNAL (changedID(const QColor&, int )), SLOT ( setColor(const QColor&,int) ) ); |
352 | if ( row > 1) { | ||
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 ); |