[vlc-commits] qml: use fontIcon when applicable in PlaylistOverlayMenu
Fatih Uzunoglu
git at videolan.org
Tue Jan 12 13:20:28 UTC 2021
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Jan 8 00:36:30 2021 +0300| [4fc7a8d3b4d2c4394f7c8e39d624f41686a6abb9] | committer: Pierre Lamot
qml: use fontIcon when applicable in PlaylistOverlayMenu
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4fc7a8d3b4d2c4394f7c8e39d624f41686a6abb9
---
modules/gui/qt/playlist/qml/PlaylistOverlayMenu.qml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/gui/qt/playlist/qml/PlaylistOverlayMenu.qml b/modules/gui/qt/playlist/qml/PlaylistOverlayMenu.qml
index ea855a978f..6afcbc44ad 100644
--- a/modules/gui/qt/playlist/qml/PlaylistOverlayMenu.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistOverlayMenu.qml
@@ -64,21 +64,21 @@ Widgets.OverlayMenu {
id: addFileAction
text: i18n.qtr("Add File...")
onTriggered: dialogProvider.simpleOpenDialog(false)
- icon.source: "qrc:/buttons/playlist/playlist_add.svg"
+ property string fontIcon: VLCIcons.add
}
Action {
id: addDirAction
text: i18n.qtr("Add Directory...")
onTriggered: dialogProvider.PLAppendDir()
- icon.source: "qrc:/buttons/playlist/playlist_add.svg"
+ property string fontIcon: VLCIcons.add
}
Action {
id: addAdvancedAction
text: i18n.qtr("Advanced Open...")
onTriggered: dialogProvider.PLAppendDialog()
- icon.source: "qrc:/buttons/playlist/playlist_add.svg"
+ property string fontIcon: VLCIcons.add
}
Action {
@@ -104,7 +104,7 @@ Widgets.OverlayMenu {
id: shuffleAction
text: i18n.qtr("Shuffle Playlist")
onTriggered: mainPlaylistController.shuffle()
- icon.source: "qrc:/buttons/playlist/shuffle_on.svg"
+ property string fontIcon: VLCIcons.shuffle_on
}
Action {
More information about the vlc-commits
mailing list