Changeset 83dc7c6


Ignore:
Timestamp:
08/15/11 14:51:59 (10 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
a9f56bb
Parents:
3a6ca60
Message:

Only add ", $venue" to conference location when $venue is not empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/conferenceeditor.cpp

    r3a6ca60 r83dc7c6  
    9090        conferenceTitle->setText(conf.title());
    9191        conferenceSubtitle->setText(conf.subtitle());
    92         conferenceWhere->setText(conf.city() + ", " + conf.venue());
     92        conferenceWhere->setText(conf.city() + (!conf.venue().isEmpty() ? ", " + conf.venue() : ""));
    9393        conferenceWhen->setText(
    9494                conf.start().toString("yyyy-MM-dd")
Note: See TracChangeset for help on using the changeset viewer.