Fix the launch warning toasts on Qt 5.9
This commit is contained in:
parent
5079bc4976
commit
b78a7971d9
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ Item {
|
||||||
// This toast appears for 3 seconds, just shorter than how long
|
// This toast appears for 3 seconds, just shorter than how long
|
||||||
// Session will wait for it to be displayed. This gives it time
|
// Session will wait for it to be displayed. This gives it time
|
||||||
// to transition to invisible before continuing.
|
// 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.text = text
|
||||||
toast.timeout = 3000
|
toast.timeout = 3000
|
||||||
toast.visible = true
|
toast.visible = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue