Fixed QML warnings in qtdeclarative and qtquickcontrols.