The favorite tab gets updated again after changing the favorite state.
[toast/confclerk.git] / src / gui / tabcontainer.cpp
index 694ce78580e10ae8effa0a28ec051ffb2218a652..822a80b1380bad7545b0138c4f0aa8e15fdc7ca3 100644 (file)
@@ -86,9 +86,8 @@ void TabContainer::displayConflicts(const QModelIndex &aIndex)
 }
 
 
-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);
 }