-rw-r--r-- | korganizer/journalentry.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp index 232ea58..58863fe 100644 --- a/korganizer/journalentry.cpp +++ b/korganizer/journalentry.cpp | |||
@@ -70,6 +70,4 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) : | |||
70 | icon = SmallIcon("1updownarrow"); | 70 | icon = SmallIcon("1updownarrow"); |
71 | toggleJournal->setIconSet (icon ) ; | 71 | toggleJournal->setIconSet (icon ) ; |
72 | int size = toggleJournal->sizeHint().height(); | ||
73 | toggleJournal->setFixedSize( size * 2 /3 , size ); | ||
74 | new QLabel(i18n(" Title: "),vb); | 72 | new QLabel(i18n(" Title: "),vb); |
75 | mTitle = new KLineEdit ( vb ); | 73 | mTitle = new KLineEdit ( vb ); |
@@ -84,6 +82,5 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) : | |||
84 | icon = SmallIcon("fileexport"); | 82 | icon = SmallIcon("fileexport"); |
85 | saveTemplate->setIconSet (icon ) ; | 83 | saveTemplate->setIconSet (icon ) ; |
86 | //size = saveTemplate->sizeHint().height(); | 84 | int size = saveTemplate->sizeHint().height(); |
87 | saveTemplate->setFixedSize( size, size ); | ||
88 | if ( QApplication::desktop()->width() < 321 ) | 85 | if ( QApplication::desktop()->width() < 321 ) |
89 | icon = SmallIcon("fileimport16"); | 86 | icon = SmallIcon("fileimport16"); |
@@ -92,4 +89,6 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) : | |||
92 | loadTemplate->setIconSet (icon ) ; | 89 | loadTemplate->setIconSet (icon ) ; |
93 | loadTemplate->setFixedSize( size, size ); | 90 | loadTemplate->setFixedSize( size, size ); |
91 | saveTemplate->setFixedSize( size, size ); | ||
92 | toggleJournal->setFixedSize( size , size ); | ||
94 | mEditor = new KTextEdit(this); | 93 | mEditor = new KTextEdit(this); |
95 | connect(mEditor,SIGNAL(textChanged()),SLOT(setDirty())); | 94 | connect(mEditor,SIGNAL(textChanged()),SLOT(setDirty())); |