[vlc-devel] [PATCH 17/55] qml: use fontIcon when applicable in PlaylistOverlayMenu

Fatih Uzunoglu fuzun54 at outlook.com
Thu Jan 7 21:36:30 UTC 2021


---
 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 {
-- 
2.27.0



More information about the vlc-devel mailing list