Ignore:
Timestamp:
05/05/10 15:57:37 (12 years ago)
Author:
kirilma <kirilma@…>
Branches:
master, qt5
Children:
508de33
Parents:
58eb7cc
Message:

refactor: cache whole Room object in Event

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/delegate.cpp

    r58eb7cc r0d995ed  
    154154        QTime start = event->start().time();
    155155        painter->setFont(fontBig);
    156         painter->drawText(titlePointF,start.toString("hh:mm") + "-" + start.addSecs(event->duration()).toString("hh:mm") + ", " + event->room());
     156        painter->drawText(titlePointF,start.toString("hh:mm") + "-" + start.addSecs(event->duration()).toString("hh:mm") + ", " + event->roomName());
    157157        // title
    158158        titlePointF.setY(titlePointF.y()+fmBig.height()-fmBig.descent());
Note: See TracChangeset for help on using the changeset viewer.