summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-07-05 11:01:38 (UTC)
committer zautrix <zautrix>2005-07-05 11:01:38 (UTC)
commit68016257abe13019610cb7bb230f8d754179abfb (patch) (side-by-side diff)
treeeb89374fe7aa4ef591388a49ce6ba7eddd43a10f
parentea75d46072630883fae6ededd4af1d3c427ff59f (diff)
downloadkdepimpi-68016257abe13019610cb7bb230f8d754179abfb.zip
kdepimpi-68016257abe13019610cb7bb230f8d754179abfb.tar.gz
kdepimpi-68016257abe13019610cb7bb230f8d754179abfb.tar.bz2
nf
Diffstat (more/less context) (ignore 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
@@ -103,14 +103,14 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) :
else
iconp = SmallIcon("fileimport");
loadTemplate->setPixmap (iconp ) ;
loadTemplate->setFixedSize( size, size );
saveTemplate->setFixedSize( size, size );
toggleJournal->setFixedSize( size , size );
- mTitle->setMaximumHeight( size+4);
- mCalendarBox->setMaximumHeight( size+4);
+ mTitle->setFixedHeight( size+4);
+ mCalendarBox->setFixedHeight( size+4);
mEditor = new KTextEdit(this);
#ifndef DESKTOP_VERSION
QPEApplication::setStylusOperation( mEditor, QPEApplication::RightOnHold );
#endif
mEditor->setWordWrap( KTextEdit::WidgetWidth );
QBoxLayout *topLayout = new QVBoxLayout(this);
@@ -206,17 +206,12 @@ void JournalEntry::fillCalendar( int setToID )
++count;
mCalendarBox->insertItem( kkf->mName );
}
kkf = KOPrefs::instance()->mCalendars.next();
}
mCalendarBox->setCurrentItem( std );
- if ( KOPrefs::instance()->mCalendars.count() == 1 )
- mCalendarBox->hide();
- else {
- mCalendarBox->show();
- }
}
void JournalEntry::toggleShowJournal()
{
if (!mEditor->text().isEmpty() || !mTitle->currentText ().isEmpty())
flushEntry();