forked from qt-creator/qt-creator
C++: Disable "signals" when qt keywords are disabled
Change-Id: Ib2334703247a4003015c7063730e0343054d3543 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
df2edde762
commit
fb758183d7
2
src/libs/3rdparty/cplusplus/Keywords.cpp
vendored
2
src/libs/3rdparty/cplusplus/Keywords.cpp
vendored
@@ -674,7 +674,7 @@ static inline int classify7(const char *s, LanguageFeatures features)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (features.qtEnabled && s[0] == 's') {
|
else if (features.qtKeywordsEnabled && s[0] == 's') {
|
||||||
if (s[1] == 'i') {
|
if (s[1] == 'i') {
|
||||||
if (s[2] == 'g') {
|
if (s[2] == 'g') {
|
||||||
if (s[3] == 'n') {
|
if (s[3] == 'n') {
|
||||||
|
Reference in New Issue
Block a user