summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kofilterview.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp
index ea53043..ce2880a 100644
--- a/korganizer/kofilterview.cpp
+++ b/korganizer/kofilterview.cpp
@@ -236,8 +236,7 @@ void KOCalEditView::readConfig()
QPushButton * addBut = new QPushButton ( mw );
addBut->setFocusPolicy(NoFocus);
mainLayout->addWidget( addBut,0,0 );
- addBut->setPixmap ( SmallIcon("plus"));
- connect(addBut,SIGNAL(clicked()),SLOT(addCal()));
+ addBut->setPixmap ( SmallIcon("greenhook16"));
addBut->setMaximumWidth( addBut->sizeHint().height() );
int max = addBut->sizeHint().height();
addBut = new QPushButton ( mw );
@@ -265,12 +264,15 @@ void KOCalEditView::readConfig()
addBut->setPixmap ( SmallIcon("pencil"));
connect(addBut,SIGNAL(clicked()),SLOT(disableRO()));
addBut->setMaximumWidth( addBut->sizeHint().height() );
-
- lab = new QLabel ( i18n(" Color "), mw );
- mainLayout->addWidget( lab,0,++ii );
lab = new QLabel ( "", mw );
mainLayout->addWidget( lab,0,++ii );
- lab->setMaximumWidth( max+4 );
+
+ addBut = new QPushButton ( mw );
+ addBut->setFocusPolicy(NoFocus);
+ mainLayout->addWidget( addBut,0,++ii );
+ addBut->setPixmap ( SmallIcon("plus"));
+ connect(addBut,SIGNAL(clicked()),SLOT(addCal()));
+
lab = new QLabel ( "", mw );
mainLayout->addWidget( lab,0,++ii );