Changeset d785a93


Ignore:
Timestamp:
07/15/11 01:25:44 (10 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
a89e18c
Parents:
ff9a2cb
Message:

Distinguish "Presenter" and "Presenters" (instead of "Presenter(s)").
Closes: Ticket #17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/delegate.cpp

    rff9a2cb rd785a93  
    185185        titlePointF.setY(titlePointF.y()+fmSmall.height()-fmSmall.descent());
    186186        painter->setFont(fontSmall);
    187         painter->drawText(titlePointF,"Presenter(s): " + event->persons().join(" and "));
     187        QString presenterPrefix = event->persons().count() < 2 ? "Presenter" : "Presenters";
     188        painter->drawText(titlePointF,presenterPrefix + ": " + event->persons().join(" and "));
    188189        // track
    189190        titlePointF.setY(titlePointF.y()+fmSmall.height()-fmSmall.descent());
Note: See TracChangeset for help on using the changeset viewer.