CppTools: Fix highlighting of ui_*.h files

Editor revisions start with 1, not 0.

There are some more problems in that area which are not addressed by
this patch. E.g. the synchronization of the AbstractEditorSupport
revision and the QTextDocument revision.

Task-number: QTCREATORBUG-11774
Change-Id: I4b0f41b2436ecedcd10dc0e3e39e5f185f990e05
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2014-03-26 10:34:07 -04:00
parent f5705459d1
commit 5e7a27dbe7

View File

@@ -38,7 +38,7 @@
namespace CppTools {
AbstractEditorSupport::AbstractEditorSupport(CppModelManagerInterface *modelmanager) :
m_modelmanager(modelmanager), m_revision(0)
m_modelmanager(modelmanager), m_revision(1)
{
}