Qt5: Compile fix for generate-ast.

1. Earlier refactoring did not adapt usages here.
2. Compile with Qt5.

Change-Id: Ic461f2acb03d51e9ad903c4aa65b7d9e6d80fe86
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Nikolai Kosjar
2012-10-24 16:09:23 +02:00
committed by hjk
parent 0ca5d23f51
commit 339164746c
2 changed files with 5 additions and 11 deletions

View File

@@ -238,6 +238,7 @@ Symbol *OverviewModel::symbolFromIndex(const QModelIndex &index) const
void OverviewModel::rebuild(Document::Ptr doc)
{
beginResetModel();
_cppDocument = doc;
reset();
endResetModel();
}