-rw-r--r-- | korganizer/kofilterview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index d79b28e..2dd4567 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp | |||
@@ -236,13 +236,13 @@ void KOCalEditView::readConfig() | |||
236 | 236 | ||
237 | if ( mw ) delete mw; | 237 | if ( mw ) delete mw; |
238 | mw = new QWidget ( this ); | 238 | mw = new QWidget ( this ); |
239 | ml->addWidget ( mw ); | 239 | ml->addWidget ( mw ); |
240 | 240 | ||
241 | mainLayout = new QGridLayout ( mw , 2, 8 ); | 241 | mainLayout = new QGridLayout ( mw , 2, 8 ); |
242 | mainLayout->setSpacing( 3 ); | 242 | //mainLayout->setSpacing( 3 ); |
243 | QPushButton * addBut = new QPushButton ( mw ); | 243 | QPushButton * addBut = new QPushButton ( mw ); |
244 | mainLayout->addWidget( addBut,0,0 ); | 244 | mainLayout->addWidget( addBut,0,0 ); |
245 | addBut->setPixmap ( SmallIcon("plus")); | 245 | addBut->setPixmap ( SmallIcon("plus")); |
246 | connect(addBut,SIGNAL(clicked()),SLOT(addCal())); | 246 | connect(addBut,SIGNAL(clicked()),SLOT(addCal())); |
247 | addBut->setMaximumWidth( addBut->sizeHint().height() ); | 247 | addBut->setMaximumWidth( addBut->sizeHint().height() ); |
248 | 248 | ||
@@ -316,13 +316,13 @@ void KOCalEditView::readConfig() | |||
316 | KOCalButton* calb = new KOCalButton( mw ); | 316 | KOCalButton* calb = new KOCalButton( mw ); |
317 | mainLayout->addWidget( calb,row,6 ); | 317 | mainLayout->addWidget( calb,row,6 ); |
318 | calb->setNum( kkf->mCalNumber ); | 318 | calb->setNum( kkf->mCalNumber ); |
319 | calb->setPixmap ( SmallIcon("minus")); | 319 | calb->setPixmap ( SmallIcon("minus")); |
320 | connect (calb, SIGNAL (selectNum(int)), SLOT ( deleteCal(int) ) ); | 320 | connect (calb, SIGNAL (selectNum(int)), SLOT ( deleteCal(int) ) ); |
321 | int hei = calb->sizeHint().height(); | 321 | int hei = calb->sizeHint().height(); |
322 | calb->setMaximumSize( hei*9/10, hei*9/10 ); | 322 | //calb->setMaximumSize( hei*9/10, hei*9/10 ); |
323 | } | 323 | } |
324 | ++row; | 324 | ++row; |
325 | kkf = KOPrefs::instance()->mCalendars.next(); | 325 | kkf = KOPrefs::instance()->mCalendars.next(); |
326 | } | 326 | } |
327 | lab = new QLabel ( "", mw ); | 327 | lab = new QLabel ( "", mw ); |
328 | mainLayout->addWidget( lab,row,0 ); | 328 | mainLayout->addWidget( lab,row,0 ); |