🎉 adding a downloaded video from youtube
This commit is contained in:
parent
2a71b8d750
commit
41e22ca133
2 changed files with 18 additions and 3 deletions
|
@ -49,7 +49,7 @@ Kirigami.OverlaySheet {
|
|||
|
||||
Item {
|
||||
id: centerItem
|
||||
Layout.preferredHeight: Kirigami.Units.gridUnit * 25
|
||||
Layout.preferredHeight: Kirigami.Units.gridUnit * 30
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
visible: true
|
||||
|
@ -119,7 +119,11 @@ Kirigami.OverlaySheet {
|
|||
Controls.Button {
|
||||
anchors.right: parent.right
|
||||
text: "Ok"
|
||||
onClicked: { clear(); root.close();}
|
||||
onClicked: {
|
||||
videoProxyModel.videoModel.newItem(ytdl.file);
|
||||
clear();
|
||||
root.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue