Explorar o código

Wayland window management work around

Donald Carr %!s(int64=8) %!d(string=hai) anos
pai
achega
d010b3bc97
Modificáronse 1 ficheiros con 12 adicións e 1 borrados
  1. 12 1
      qml/main.qml

+ 12 - 1
qml/main.qml

@@ -266,6 +266,17 @@ Window {
     }
 
     Component.onCompleted: {
-        showAtCorrectSize()
+        showTimer.start()
+    }
+
+    Timer {
+        id: showTimer
+
+        running: false
+        repeat: false
+        interval: 1
+        onTriggered: {
+            showAtCorrectSize()
+        }
     }
 }