From 41e2491fb446db98110be2c3aa5bc500d273c54d Mon Sep 17 00:00:00 2001 From: Clayton Groeneveld Date: Mon, 18 Jul 2022 04:48:10 -0500 Subject: [PATCH] UI: Add media control icons to Yami The Yami theme never added the media control icons to the qss file. --- UI/data/themes/Yami.qss | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/UI/data/themes/Yami.qss b/UI/data/themes/Yami.qss index 89fb4f677..b5eb1c40a 100644 --- a/UI/data/themes/Yami.qss +++ b/UI/data/themes/Yami.qss @@ -1291,6 +1291,32 @@ QSlider::handle:horizontal[themeID="tBarSlider"] { margin: -24px 0px; } +/* Media icons */ + +* [themeID="playIcon"] { + qproperty-icon: url(./Dark/media/media_play.svg); +} + +* [themeID="pauseIcon"] { + qproperty-icon: url(./Dark/media/media_pause.svg); +} + +* [themeID="restartIcon"] { + qproperty-icon: url(./Dark/media/media_restart.svg); +} + +* [themeID="stopIcon"] { + qproperty-icon: url(./Dark/media/media_stop.svg); +} + +* [themeID="nextIcon"] { + qproperty-icon: url(./Dark/media/media_next.svg); +} + +* [themeID="previousIcon"] { + qproperty-icon: url(./Dark/media/media_previous.svg); +} + /* YouTube Integration */ OBSYoutubeActions { qproperty-thumbPlaceholder: url(./Dark/sources/image.svg);