QML warning fix.