summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-07-05 11:01:38 (UTC)
committer zautrix <zautrix>2005-07-05 11:01:38 (UTC)
commit68016257abe13019610cb7bb230f8d754179abfb (patch) (unidiff)
treeeb89374fe7aa4ef591388a49ce6ba7eddd43a10f /korganizer
parentea75d46072630883fae6ededd4af1d3c427ff59f (diff)
downloadkdepimpi-68016257abe13019610cb7bb230f8d754179abfb.zip
kdepimpi-68016257abe13019610cb7bb230f8d754179abfb.tar.gz
kdepimpi-68016257abe13019610cb7bb230f8d754179abfb.tar.bz2
nf
Diffstat (limited to 'korganizer') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/journalentry.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp
index 902e96f..b8a4cf2 100644
--- a/korganizer/journalentry.cpp
+++ b/korganizer/journalentry.cpp
@@ -106,8 +106,8 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) :
106 loadTemplate->setFixedSize( size, size ); 106 loadTemplate->setFixedSize( size, size );
107 saveTemplate->setFixedSize( size, size ); 107 saveTemplate->setFixedSize( size, size );
108 toggleJournal->setFixedSize( size , size ); 108 toggleJournal->setFixedSize( size , size );
109 mTitle->setMaximumHeight( size+4); 109 mTitle->setFixedHeight( size+4);
110 mCalendarBox->setMaximumHeight( size+4); 110 mCalendarBox->setFixedHeight( size+4);
111 mEditor = new KTextEdit(this); 111 mEditor = new KTextEdit(this);
112#ifndef DESKTOP_VERSION 112#ifndef DESKTOP_VERSION
113 QPEApplication::setStylusOperation( mEditor, QPEApplication::RightOnHold ); 113 QPEApplication::setStylusOperation( mEditor, QPEApplication::RightOnHold );
@@ -209,11 +209,6 @@ void JournalEntry::fillCalendar( int setToID )
209 kkf = KOPrefs::instance()->mCalendars.next(); 209 kkf = KOPrefs::instance()->mCalendars.next();
210 } 210 }
211 mCalendarBox->setCurrentItem( std ); 211 mCalendarBox->setCurrentItem( std );
212 if ( KOPrefs::instance()->mCalendars.count() == 1 )
213 mCalendarBox->hide();
214 else {
215 mCalendarBox->show();
216 }
217} 212}
218 213
219void JournalEntry::toggleShowJournal() 214void JournalEntry::toggleShowJournal()