Kylin/Fluent/qml/Router.qml
2024-08-21 23:26:43 +08:00

13 lines
204 B
QML

pragma Singleton
import QtQml
QtObject {
property var windows: []
function addWindow(window){
if(!window.transientParent){
windows.push(window)
}
}
}