Fix the launch warning toasts on Qt 5.9

This commit is contained in:
Cameron Gutman 2019-03-22 21:30:06 -07:00
parent 5079bc4976
commit b78a7971d9

View File

@ -50,7 +50,7 @@ Item {
// This toast appears for 3 seconds, just shorter than how long
// Session will wait for it to be displayed. This gives it time
// to transition to invisible before continuing.
var toast = Qt.createQmlObject('import QtQuick.Controls 2.3; ToolTip {}', parent, '')
var toast = Qt.createQmlObject('import QtQuick.Controls 2.2; ToolTip {}', parent, '')
toast.text = text
toast.timeout = 3000
toast.visible = true