Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
0bd45a13 by Zyad M. Ayad at 2026-02-28T10:11:31+01:00
qt: Add radio icon to Radio service discovery module
- - - - -
4 changed files:
- modules/gui/qt/Makefile.am
- modules/gui/qt/assets.qrc
- modules/gui/qt/network/networksourcesmodel.cpp
- + modules/gui/qt/pixmaps/sd/radio.svg
Changes:
=====================================
modules/gui/qt/Makefile.am
=====================================
@@ -958,6 +958,7 @@ libqt_plugin_la_RES = \
pixmaps/sd/pictures.svg \
pixmaps/sd/playlist.svg \
pixmaps/sd/podcast.svg \
+ pixmaps/sd/radio.svg \
pixmaps/sd/screen.svg \
pixmaps/sd/stream.svg \
pixmaps/sd/unknown.svg
=====================================
modules/gui/qt/assets.qrc
=====================================
@@ -84,6 +84,7 @@
<file alias="frenchtv.svg">pixmaps/sd/frenchtv.svg</file>
<file alias="jamendo.svg">pixmaps/sd/jamendo.svg</file>
<file alias="katsomo.svg">pixmaps/sd/katsomo.svg</file>
+ <file alias="radio.svg">pixmaps/sd/radio.svg</file>
</qresource>
<qresource prefix="/placeholder">
<file
alias="add_service.svg">pixmaps/placeholder/add_service.svg</file>
=====================================
modules/gui/qt/network/networksourcesmodel.cpp
=====================================
@@ -50,6 +50,10 @@ struct SourceItem
{
artworkUrl = QUrl("qrc:///sd/podcast.svg");
}
+ else if ( name.startsWith( "radio" ) )
+ {
+ artworkUrl = QUrl("qrc:///sd/radio.svg");
+ }
else if ( name.startsWith("lua{") )
{
int i_head = name.indexOf( "sd='" ) + 4;
=====================================
modules/gui/qt/pixmaps/sd/radio.svg
=====================================
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg transform="translate(33,33)" version="1.1" viewBox="0 0 114 114"
xmlns="http://www.w3.org/2000/svg">
+ <rect x="-2.8754" y="16.682" width="49.021" height="32.68" rx="4.0851"
fill="#747474" stroke-width=".81701"/>
+ <circle cx="35.933" cy="28.937" r="4.0851" fill="#ff8800"
stroke-width=".81701"/>
+ <path d="m5.2947 24.852h10.213m-10.213 8.1701h10.213m-10.213 8.1701h10.213"
stroke="#ff8800" stroke-width="4.7886"/>
+ <path d="m43.286 4.4264v12.255" stroke="#747474" stroke-linecap="round"
stroke-width="2.0425"/>
+ <circle cx="43.286" cy="4.4264" r="2.0425" fill="#747474"
stroke-width=".81701"/>
+ <g fill="none" stroke="#ff8800" stroke-width="2.3943">
+ <path d="m37.158-1.7012a10.213 10.213 0 0 0 0 14.298"/>
+ <path d="m39.201 0.34134a12.255 10.213 0 0 0 0 10.213m8.1701-10.213a12.255
10.213 0 0 1 0 10.213"/>
+ <path d="m49.413-1.7012a10.213 10.213 0 0 1 0 14.298"/>
+ </g>
+</svg>
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/0bd45a13ccaddf0ef1e5e69c2a47aec5f14cf2de
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/0bd45a13ccaddf0ef1e5e69c2a47aec5f14cf2de
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits