mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Fix the launch warning toasts on Qt 5.9
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user