#include <QDebug>
#include <QPainter>
+#include <application.h>
+#include "conference.h"
#include "room.h"
const int SPACER = 10;
painter->setPen(QPen(conflictSeverity != csNone ? Qt::black : textColor));
QPointF titlePointF(option.rect.x() + SPACER,
option.rect.y() + SPACER + mControls[FavouriteControlStrong]->image()->height());
- QTime start = event->start().time();
+ Conference& conference = ((Application*) qApp)->activeConference();
+ QTime start = conference.shiftTime(event->start().time());
painter->setFont(fontBig);
painter->drawText(titlePointF,start.toString("hh:mm") + "-" + start.addSecs(event->duration()).toString("hh:mm") + ", " + event->roomName());