QmlJS: Remove redundant code

Change-Id: I8ad31899fb8c866c086c6e4a1fdbf7e10f939290
Task-number: QTCREATORBUG-18331
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Robert Loehning
2017-06-02 13:38:46 +02:00
parent f9350a5dbd
commit d75ff0aab8

View File

@@ -200,8 +200,6 @@ bool QmlJSHighlighter::maybeQmlKeyword(const QStringRef &text) const
return true;
else if (ch == QLatin1Char('s') && text == QLatin1String("signal"))
return true;
else if (ch == QLatin1Char('p') && text == QLatin1String("property"))
return true;
else if (ch == QLatin1Char('r') && text == QLatin1String("readonly"))
return true;
else if (ch == QLatin1Char('i') && text == QLatin1String("import"))