Fix thread warning
This commit is contained in:
3 files changed
+15
No files matched your search
@@ -167,6 +167,10 @@ ApplicationWindow {
|
||||
z: 3000
|
||||
}
|
||||
|
||||
// Pre-warms QQuickPixmapReader on the main thread so the render thread
|
||||
// never creates it first (which logs a QObject parent-thread warning).
|
||||
Image { width: 0; height: 0; visible: false; source: "image://web/__warmup__" }
|
||||
|
||||
// Navigate once measurement (and position restoration) is done
|
||||
Connections {
|
||||
target: readingModel
|
||||
|
||||
Reference in new issue
Block a user