summaryrefslogtreecommitdiffabout
path: root/korganizer/koeditorgeneral.cpp
authorzautrix <zautrix>2005-03-26 13:13:04 (UTC)
committer zautrix <zautrix>2005-03-26 13:13:04 (UTC)
commit93d1be2c6eead07300e7f90f3b417fcef0f109d3 (patch) (side-by-side diff)
treecdcac27cfa1e02c6fa388c252287ed9818b95847 /korganizer/koeditorgeneral.cpp
parentbc8929ccca1ad8cd04f61366c78254803d9c1565 (diff)
downloadkdepimpi-93d1be2c6eead07300e7f90f3b417fcef0f109d3.zip
kdepimpi-93d1be2c6eead07300e7f90f3b417fcef0f109d3.tar.gz
kdepimpi-93d1be2c6eead07300e7f90f3b417fcef0f109d3.tar.bz2
icons added
Diffstat (limited to 'korganizer/koeditorgeneral.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditorgeneral.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/koeditorgeneral.cpp b/korganizer/koeditorgeneral.cpp
index cf0d4ae..92fcd1c 100644
--- a/korganizer/koeditorgeneral.cpp
+++ b/korganizer/koeditorgeneral.cpp
@@ -377,25 +377,27 @@ void KOEditorGeneral::setDefaults(bool allDay)
mLocationEdit->setEditText("");
mDescriptionEdit->setText("");
mAlarmSound = KOPrefs::instance()->mDefaultAlarmFile;
setCategories("");
}
void KOEditorGeneral::setSecrecy( int num )
{
mSecrecyCombo->setCurrentItem(num);
}
void KOEditorGeneral::readIncidence(Incidence *event)
{
- mAlarmMessage = event->summary();
+ mAlarmMessage = event->summary();
+ if ( ! event->location().isEmpty() )
+ mAlarmMessage += " ("+event->location()+")";
mAlarmIncrCombo->setCurrentItem(0);
mSummaryEdit->setEditText(event->summary());
mLocationEdit->setEditText(event->location());
mDescriptionEdit->setText(event->description());
#if 0
// organizer information
mOwnerLabel->setText(i18n("Owner: ") + event->organizer());
#endif
enableAlarmEdit( event->isAlarmEnabled() );
//qDebug("KOEditorGeneral::readIncidence(Incidence *event) ");