diff options
Diffstat (limited to 'src/tools/moc')
-rw-r--r-- | src/tools/moc/moc.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tools/moc/moc.cpp b/src/tools/moc/moc.cpp index ad9c684541..84eb751bee 100644 --- a/src/tools/moc/moc.cpp +++ b/src/tools/moc/moc.cpp @@ -1318,8 +1318,6 @@ void Moc::parsePropertyAttributes(PropertyDef &propDef) propDef.final = true; continue; } else if (l[0] == 'N' && l == "NAME") { - if (!propDef.isQProperty) - error(1); next(IDENTIFIER); propDef.name = lexem(); continue; |