summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/datebook/datebookevent.cpp
Unidiff
Diffstat (limited to 'core/pim/today/plugins/datebook/datebookevent.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/datebook/datebookevent.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/pim/today/plugins/datebook/datebookevent.cpp b/core/pim/today/plugins/datebook/datebookevent.cpp
index f5b0d0a..a540327 100644
--- a/core/pim/today/plugins/datebook/datebookevent.cpp
+++ b/core/pim/today/plugins/datebook/datebookevent.cpp
@@ -52,4 +52,5 @@ DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
52 // include location or not 52 // include location or not
53 if ( show_location ) { 53 if ( show_location && !(ev).location().isEmpty() ) {
54 msg += "<BR><i>" + (ev).location() + "</i>"; 54 if ( (ev).location() != tr("(Unknown)") )
55 msg += "<BR><i>" + (ev).location() + "</i>";
55 } 56 }
@@ -61,2 +62,4 @@ DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
61 62
63 msg += timeSpacer;
64
62 if ( ( TimeString::timeString( QTime( (ev).event().start().time() ) ) == "00:00" ) 65 if ( ( TimeString::timeString( QTime( (ev).event().start().time() ) ) == "00:00" )
@@ -67,3 +70,2 @@ DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
67// QDate tempDate = (ev).event().start().date(); 70// QDate tempDate = (ev).event().start().date();
68 msg += timeSpacer;
69 msg += ampmTime( QTime( (ev).event().start().time() ) ) 71 msg += ampmTime( QTime( (ev).event().start().time() ) )