fix(filemanager): accept a plain window as the archive dialog host

main
reionwong 3 weeks ago
parent 6f09c4293d
commit 9235d2403f

@ -9,7 +9,9 @@ FishUI.Window {
id: control
property QtObject archiveModel
property Window hostWindow
// Not `Window`: that is QtQuick.Window's own type, and the desktop's host
// window is a QQuickWindow subclass from C++, which is not one.
property QtObject hostWindow
flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
modality: Qt.NonModal

Loading…
Cancel
Save