-rw-r--r-- | korganizer/koeditordetails.cpp | 7 | ||||
-rw-r--r-- | korganizer/kotodoeditor.cpp | 16 |
2 files changed, 12 insertions, 11 deletions
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp index ef8025b..2fd13bd 100644 --- a/korganizer/koeditordetails.cpp +++ b/korganizer/koeditordetails.cpp | |||
@@ -100,2 +100,5 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) | |||
100 | 100 | ||
101 | mRsvpButton = new QCheckBox(this); | ||
102 | mRsvpButton->setText(i18n("Request response")); | ||
103 | mAddressBookButton = new QPushButton(i18n("Address &Book..."),this); | ||
101 | QLabel *attendeeLabel = new QLabel(this); | 104 | QLabel *attendeeLabel = new QLabel(this); |
@@ -129,4 +132,3 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) | |||
129 | 132 | ||
130 | mRsvpButton = new QCheckBox(this); | 133 | |
131 | mRsvpButton->setText(i18n("Request response")); | ||
132 | connect(mRsvpButton,SIGNAL(clicked()),SLOT(updateAttendeeItem())); | 134 | connect(mRsvpButton,SIGNAL(clicked()),SLOT(updateAttendeeItem())); |
@@ -143,3 +145,2 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) | |||
143 | 145 | ||
144 | mAddressBookButton = new QPushButton(i18n("Address &Book..."),this); | ||
145 | // buttonLayout->addWidget(mAddressBookButton); | 146 | // buttonLayout->addWidget(mAddressBookButton); |
diff --git a/korganizer/kotodoeditor.cpp b/korganizer/kotodoeditor.cpp index 9232e09..f9f037a 100644 --- a/korganizer/kotodoeditor.cpp +++ b/korganizer/kotodoeditor.cpp | |||
@@ -135,10 +135,2 @@ void KOTodoEditor::setupGeneral() | |||
135 | if ( QApplication::desktop()->width() < 321 ) | 135 | if ( QApplication::desktop()->width() < 321 ) |
136 | icon = SmallIcon("fileexport16"); | ||
137 | else | ||
138 | icon = SmallIcon("fileexport"); | ||
139 | QPushButton * saveTemplate = new QPushButton( prioWidget); | ||
140 | saveTemplate->setIconSet (icon ) ; | ||
141 | int size = saveTemplate->sizeHint().height(); | ||
142 | saveTemplate->setFixedSize( size, size ); | ||
143 | if ( QApplication::desktop()->width() < 321 ) | ||
144 | icon = SmallIcon("fileimport16"); | 136 | icon = SmallIcon("fileimport16"); |
@@ -148,3 +140,11 @@ void KOTodoEditor::setupGeneral() | |||
148 | loadTemplate->setIconSet (icon ) ; | 140 | loadTemplate->setIconSet (icon ) ; |
141 | int size = loadTemplate->sizeHint().height(); | ||
149 | loadTemplate->setFixedSize( size, size ); | 142 | loadTemplate->setFixedSize( size, size ); |
143 | if ( QApplication::desktop()->width() < 321 ) | ||
144 | icon = SmallIcon("fileexport16"); | ||
145 | else | ||
146 | icon = SmallIcon("fileexport"); | ||
147 | QPushButton * saveTemplate = new QPushButton( prioWidget); | ||
148 | saveTemplate->setIconSet (icon ) ; | ||
149 | saveTemplate->setFixedSize( size, size ); | ||
150 | 150 | ||