diff --git a/src/libs/qmljs/qmljsstaticanalysismessage.cpp b/src/libs/qmljs/qmljsstaticanalysismessage.cpp index fc4579245db..db539099c64 100644 --- a/src/libs/qmljs/qmljsstaticanalysismessage.cpp +++ b/src/libs/qmljs/qmljsstaticanalysismessage.cpp @@ -209,8 +209,10 @@ StaticAnalysisMessages::StaticAnalysisMessages() Tr::tr("This type (%1) is not supported as a root element of a UI file (.ui.qml)."), 1); newMsg(ErrUnsupportedTypeInQmlUi, Error, Tr::tr("This type (%1) is not supported in a UI file (.ui.qml)."), 1); - newMsg(ErrFunctionsNotSupportedInQmlUi, Error, - Tr::tr("Functions are not supported in a UI file (.ui.qml).")); + newMsg( + ErrFunctionsNotSupportedInQmlUi, + Error, + Tr::tr("Arbitrary functions and function calls outside of a Connections object are not supported in a UI file (.ui.qml).")); newMsg(ErrBlocksNotSupportedInQmlUi, Error, Tr::tr("JavaScript blocks are not supported in a UI file (.ui.qml).")); newMsg(ErrBehavioursNotSupportedInQmlUi, Error,