[sailfish] variant is deprecated, use var instead

See http://qt-project.org/doc/qt-5/qml-variant.html