-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 | |||
@@ -335,30 +335,30 @@ void KOCalEditView::readConfig() | |||
335 | cb->setChecked( kkf->isAlarmEnabled ); | 335 | cb->setChecked( kkf->isAlarmEnabled ); |
336 | cb->setNum( kkf->mCalNumber ); | 336 | cb->setNum( kkf->mCalNumber ); |
337 | connect (cb, SIGNAL (selectNum(int,bool)), SLOT ( selectCalAlarm(int,bool) ) ); | 337 | connect (cb, SIGNAL (selectNum(int,bool)), SLOT ( selectCalAlarm(int,bool) ) ); |
338 | if ( kkf->mErrorOnLoad ) | 338 | if ( kkf->mErrorOnLoad ) |
339 | cb->setEnabled( false ); | 339 | cb->setEnabled( false ); |
340 | cb = new KOCalCheckButton( mw ); | 340 | cb = new KOCalCheckButton( mw ); |
341 | mainLayout->addWidget( cb,row,++iii );mROB.append( cb ); | 341 | mainLayout->addWidget( cb,row,++iii );mROB.append( cb ); |
342 | cb->setChecked( kkf->isReadOnly ); | 342 | cb->setChecked( kkf->isReadOnly ); |
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 | 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 ); |
356 | calb->setPixmap ( SmallIcon("minus")); | 356 | calb->setPixmap ( SmallIcon("minus")); |
357 | connect (calb, SIGNAL (selectNum(int)), SLOT ( deleteCal(int) ) ); | 357 | connect (calb, SIGNAL (selectNum(int)), SLOT ( deleteCal(int) ) ); |
358 | int hei = calb->sizeHint().height(); | 358 | int hei = calb->sizeHint().height(); |
359 | //calb->setMaximumSize( hei*9/10, hei*9/10 ); | 359 | //calb->setMaximumSize( hei*9/10, hei*9/10 ); |
360 | } | 360 | } |
361 | ++row; | 361 | ++row; |
362 | kkf = KOPrefs::instance()->mCalendars.next(); | 362 | kkf = KOPrefs::instance()->mCalendars.next(); |
363 | } | 363 | } |
364 | lab = new QLabel ( "", mw ); | 364 | lab = new QLabel ( "", mw ); |