/*
* Copyright (C) 2010 Ixonos Plc.
- * Copyright (C) 2011 Philipp Spitzer, gregor herrmann
+ * Copyright (C) 2011-2012 Philipp Spitzer, gregor herrmann, Stefan Stahl
*
* This file is part of ConfClerk.
*
void TabContainer::displayConflicts(const QModelIndex &aIndex)
{
- ConflictsDialog dialog(static_cast<Event*>(aIndex.internalPointer())->id(),this);
+ Event* event = static_cast<Event*>(aIndex.internalPointer());
+ ConflictsDialog dialog(event->id(), event->conferenceId(), this);
#ifdef N810
dialog.setFixedWidth(static_cast<QWidget*>(parent())->width());
#endif
}
-void TabContainer::redisplayEvent(int aEventId, bool aReloadModel) {
- /* if (aReloadModel) updateTreeView(dayNavigator->curDate());
- else */ static_cast<EventModel*>(treeView->model())->updateModel(aEventId);
+void TabContainer::redisplayEvent(int aEventId) {
+ static_cast<EventModel*>(treeView->model())->updateModel(aEventId);
}