From d75ff0aab816c1f309d035f02ca54d07b5069611 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Fri, 2 Jun 2017 13:38:46 +0200 Subject: [PATCH] QmlJS: Remove redundant code Change-Id: I8ad31899fb8c866c086c6e4a1fdbf7e10f939290 Task-number: QTCREATORBUG-18331 Reviewed-by: Eike Ziller --- src/plugins/qmljseditor/qmljshighlighter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/qmljseditor/qmljshighlighter.cpp b/src/plugins/qmljseditor/qmljshighlighter.cpp index d494f4e5e50..06d65a39712 100644 --- a/src/plugins/qmljseditor/qmljshighlighter.cpp +++ b/src/plugins/qmljseditor/qmljshighlighter.cpp @@ -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"))