ToastFreeware
/
toast
/
confclerk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a6ca60
)
Only add ", $venue" to conference location when $venue is not empty.
author
gregor herrmann
<gregoa@debian.org>
Mon, 15 Aug 2011 12:51:59 +0000
(12:51 +0000)
committer
gregor herrmann
<gregoa@debian.org>
Mon, 15 Aug 2011 12:51:59 +0000
(12:51 +0000)
src/gui/conferenceeditor.cpp
patch
|
blob
|
history
diff --git
a/src/gui/conferenceeditor.cpp
b/src/gui/conferenceeditor.cpp
index 60a57a46582d87dcb9d137255fef4f174fad7e5f..910a7d09deecd0aa1f7027f87c401e98546fd908 100644
(file)
--- a/
src/gui/conferenceeditor.cpp
+++ b/
src/gui/conferenceeditor.cpp
@@
-89,7
+89,7
@@
void ConferenceEditor::itemSelected(const QModelIndex& current, const QModelInde
conferenceTitle->setText(conf.title());
conferenceSubtitle->setText(conf.subtitle());
- conferenceWhere->setText(conf.city() +
", " + conf.venue(
));
+ conferenceWhere->setText(conf.city() +
(!conf.venue().isEmpty() ? ", " + conf.venue() : ""
));
conferenceWhen->setText(
conf.start().toString("yyyy-MM-dd")
+ " - " +