Skip to content
Snippets Groups Projects
Commit 79b4f529 authored by Prince Gupta's avatar Prince Gupta :speech_balloon: Committed by Pierre Lamot
Browse files

qml: add CSD decorations to ResumeDialog


ResumeDialog hides TopBar so need to provide placeholder CSD decorations

Signed-off-by: default avatarPierre Lamot <pierre@videolabs.io>
parent 08cb8351
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,21 @@ Widgets.NavigableFocusScope {
Item {
Layout.fillWidth: true
}
Loader {
id: csdDecorations
focus: false
height: VLCStyle.icon_normal
active: mainInterface.clientSideDecoration
enabled: mainInterface.clientSideDecoration
visible: mainInterface.clientSideDecoration
source: "qrc:///widgets/CSDWindowButtonSet.qml"
onLoaded: {
item.color = Qt.binding(function() { return resumePanel.colors.playerFg })
item.hoverColor = Qt.binding(function() { return resumePanel.colors.windowCSDButtonDarkBg })
}
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment