Commit 248a4660 authored by Tomi Korpipää's avatar Tomi Korpipää

Remove mac hack from kria

QML Streamer had a bug that has been fixed. No hacks for mac
needed anymore.
parent 176a0e08
...@@ -148,14 +148,12 @@ Item { ...@@ -148,14 +148,12 @@ Item {
qmlStreams: [ qmlStreams: [
QmlStream { QmlStream {
presentationId: "navigationStream" presentationId: "navigationStream"
// Load at start and set active & visible. Otherwise causes problems
// with macOS.
Loader { Loader {
id: contentStream id: contentStream
active: true active: false
visible: true visible: active
source: "qrc:/Navigation.qml" source: ""
asynchronous: false asynchronous: true
} }
} }
] ]
...@@ -169,8 +167,6 @@ Item { ...@@ -169,8 +167,6 @@ Item {
// Hack. We need to draw something in QML in each frame to minimize the jamming of // Hack. We need to draw something in QML in each frame to minimize the jamming of
// Studio3D content. // Studio3D content.
/*
// This seems to mess up QML streaming for macOS. Enable if target device jams a lot.
property bool direction: false property bool direction: false
onFrameUpdate: { onFrameUpdate: {
direction = !direction; direction = !direction;
...@@ -179,7 +175,7 @@ Item { ...@@ -179,7 +175,7 @@ Item {
else else
studio3D.x -= 0.1; studio3D.x -= 0.1;
} }
*/
} }
OverlayContainer { OverlayContainer {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment