-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 @@ -234,17 +234,17 @@ void KOCalEditView::readConfig() mAlarmB.clear(); mROB.clear(); if ( mw ) delete mw; mw = new QWidget ( this ); ml->addWidget ( mw ); mainLayout = new QGridLayout ( mw , 2, 8 ); - mainLayout->setSpacing( 3 ); + //mainLayout->setSpacing( 3 ); QPushButton * addBut = new QPushButton ( mw ); mainLayout->addWidget( addBut,0,0 ); addBut->setPixmap ( SmallIcon("plus")); connect(addBut,SIGNAL(clicked()),SLOT(addCal())); addBut->setMaximumWidth( addBut->sizeHint().height() ); addBut = new QPushButton ( mw ); mainLayout->addWidget( addBut,0,1 ); @@ -314,17 +314,17 @@ void KOCalEditView::readConfig() connect (colb, SIGNAL (changedID(const QColor&, int )), SLOT ( setColor(const QColor&,int) ) ); if ( row > 1) { KOCalButton* calb = new KOCalButton( mw ); mainLayout->addWidget( calb,row,6 ); calb->setNum( kkf->mCalNumber ); calb->setPixmap ( SmallIcon("minus")); connect (calb, SIGNAL (selectNum(int)), SLOT ( deleteCal(int) ) ); int hei = calb->sizeHint().height(); - calb->setMaximumSize( hei*9/10, hei*9/10 ); + //calb->setMaximumSize( hei*9/10, hei*9/10 ); } ++row; kkf = KOPrefs::instance()->mCalendars.next(); } lab = new QLabel ( "", mw ); mainLayout->addWidget( lab,row,0 ); mw->show(); |