forked from qt-creator/qt-creator
Doc: Update JavaScrip and QML error codes
- Add "A when condition cannot contain an object." and fix the typo in the user-visible text. - Remove M325, which has been removed from the sources. Task-number: QTCREATORBUG-31510 Change-Id: Iec793c0625496e50456a8b998ca12b2f37cd36ad Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -708,12 +708,6 @@
|
|||||||
and most likely invalid
|
and most likely invalid
|
||||||
\li
|
\li
|
||||||
|
|
||||||
\row
|
|
||||||
\li M325
|
|
||||||
\li Warning
|
|
||||||
\li Logical value does not depend on actual values
|
|
||||||
\li Removed: This warning is no longer being used since Qt Creator version 12.
|
|
||||||
|
|
||||||
\row
|
\row
|
||||||
\li M326
|
\li M326
|
||||||
\li Error
|
\li Error
|
||||||
@@ -747,6 +741,13 @@
|
|||||||
\li The alias property cannot reference the root component in a
|
\li The alias property cannot reference the root component in a
|
||||||
hierarchy. Create an instance of the component instead.
|
hierarchy. Create an instance of the component instead.
|
||||||
|
|
||||||
|
\row
|
||||||
|
\li M403
|
||||||
|
\li Error
|
||||||
|
\li A when condition cannot contain an object
|
||||||
|
\li Set the \c when condition to an expression that evaluates to \c true
|
||||||
|
when the condition is met.
|
||||||
|
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
\section1 Resetting the Code Model
|
\section1 Resetting the Code Model
|
||||||
|
@@ -240,7 +240,7 @@ StaticAnalysisMessages::StaticAnalysisMessages()
|
|||||||
Tr::tr("Do not reference the root item as alias."));
|
Tr::tr("Do not reference the root item as alias."));
|
||||||
newMsg(WarnAliasReferRootHierarchy, Warning,
|
newMsg(WarnAliasReferRootHierarchy, Warning,
|
||||||
Tr::tr("Avoid referencing the root item in a hierarchy."));
|
Tr::tr("Avoid referencing the root item in a hierarchy."));
|
||||||
newMsg(ErrWhenConditionCannotBeObject, Error, Tr::tr("When condtion cannot contain an object."));
|
newMsg(ErrWhenConditionCannotBeObject, Error, Tr::tr("A when condition cannot contain an object."));
|
||||||
}
|
}
|
||||||
|
|
||||||
} // anonymous namespace
|
} // anonymous namespace
|
||||||
|
Reference in New Issue
Block a user