Change dirble icon

This commit is contained in:
Craig Drummond
2018-05-24 18:07:39 +01:00
committed by Craig Drummond
parent 70c4bb35ae
commit 4df221bfe3
5 changed files with 6 additions and 11 deletions

View File

@@ -18,7 +18,7 @@
<file alias="shoutcast.svg">streams/icons/shoutcast.svg</file>
<file alias="tunein.svg">streams/icons/tunein.svg</file>
<file alias="dirble.svg">streams/icons/dirble.svg</file>
<file alias="station.svg">streams/icons/station.svg</file>
<file alias="album.svg">icons/media-optical.svg</file>
<file alias="album32.svg">icons/media-optical32.svg</file>

View File

@@ -45,7 +45,7 @@ StreamSearchModel::StreamSearchModel(QObject *parent)
// ORDER *MUST* MATCH Category ENUM!!!!!
root->children.append(new StreamsModel::CategoryItem("http://opml.radiotime.com/Search.ashx", tr("TuneIn"), root, MonoIcon::icon(":tunein.svg", Utils::monoIconColor())));
root->children.append(new StreamsModel::CategoryItem(QLatin1String("http://")+StreamsModel::constShoutCastHost+QLatin1String("/legacy/genrelist"), tr("ShoutCast"), root, MonoIcon::icon(":shoutcast.svg", Utils::monoIconColor())));
root->children.append(new StreamsModel::CategoryItem(QLatin1String("http://")+StreamsModel::constDirbleHost+QLatin1String("/v2/search/"), tr("Dirble"), root, MonoIcon::icon(":dirble.svg", Utils::monoIconColor())));
root->children.append(new StreamsModel::CategoryItem(QLatin1String("http://")+StreamsModel::constDirbleHost+QLatin1String("/v2/search/"), tr("Dirble"), root, MonoIcon::icon(":station.svg", Utils::monoIconColor())));
icon = MonoIcon::icon(FontAwesome::search, Utils::monoIconColor());
}

View File

@@ -500,7 +500,7 @@ StreamsModel::StreamsModel(QObject *parent)
shoutCast=new ShoutCastCategoryItem(constShoutCastUrl, tr("ShoutCast"), root, MonoIcon::icon(":shoutcast.svg", col));
shoutCast->configName="shoutcast";
root->children.append(shoutCast);
dirble=new DirbleCategoryItem(constDirbleUrl, tr("Dirble"), root, MonoIcon::icon(":dirble.svg", col));
dirble=new DirbleCategoryItem(constDirbleUrl, tr("Dirble"), root, MonoIcon::icon(":station.svg", col));
dirble->configName="dirble";
root->children.append(dirble);
favourites=new FavouritesCategoryItem(constFavouritesUrl, tr("Favorites"), root, MonoIcon::icon(FontAwesome::heart, MonoIcon::constRed));

View File

@@ -1,8 +0,0 @@
<svg id="svg2" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="256" width="256" version="1.1">
<g id="layer1" transform="translate(0 -796.36)">
<path id="path3013" d="m648.57 563.79a271.43 271.43 0 1 1 -542.86 0 271.43 271.43 0 1 1 542.86 0z" transform="matrix(.45154 0 0 .45154 -41.655 668.37)" fill="#000"/>
<g id="text2985" fill="#fff" transform="matrix(.77272 0 0 .88980 -192.04 571.02)">
<path id="path2990" fill="#fff" d="m424.53 297.55h52.594v116.86c-0.00015 21.469-5.6252 38.953-16.875 52.453-6.4689 7.7813-14.719 13.969-24.75 18.562-9.9376 4.5938-20.156 6.8906-30.656 6.8906-20.906-0.00001-38.531-7.0312-52.875-21.094-14.344-14.062-21.516-31.312-21.516-51.75-0.00001-19.781 7.125-36.891 21.375-51.328s31.125-21.656 50.625-21.656c3.0937 0.00014 7.7812 0.28139 14.062 0.84375v57.938c-4.3126-3.3749-8.6251-5.0624-12.938-5.0625-5.4376 0.00009-10.125 2.0157-14.062 6.0469-3.8438 3.9376-5.7657 8.7188-5.7656 14.344-0.00006 5.4376 2.0156 10.125 6.0469 14.062 4.0312 3.8438 8.8593 5.7657 14.484 5.7656 13.5 0.00005 20.25-9.3281 20.25-27.984v-114.89"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,3 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve" preserveAspectRatio="xMinYMid">
<path fill="#000" d="M9.4,35.4c0,10.9,4.2,21.1,11.9,28.7l-6.6,6.6c-9.5-9.4-14.7-22-14.7-35.4S5.3,9.4,14.7,0l6.6,6.6 C13.7,14.3,9.4,24.5,9.4,35.4z M35.7,21l-6.6-6.6c-5.6,5.6-8.7,13.1-8.7,21c0,7.9,3.1,15.4,8.7,21l6.6-6.6c-3.8-3.8-6-8.9-6-14.4 C29.8,29.9,31.9,24.8,35.7,21z M85.4,0l-6.6,6.6c7.7,7.7,11.9,17.9,11.9,28.7c0,10.9-4.2,21.1-11.9,28.7l6.6,6.6 c9.4-9.4,14.6-22,14.6-35.4C100.1,22,94.9,9.4,85.4,0z M50.1,26c-5.2,0-9.4,4.2-9.4,9.4c0,3.5,1.9,6.5,4.7,8.1V100h9.4V43.4 c2.8-1.6,4.7-4.6,4.7-8.1C59.4,30.2,55.3,26,50.1,26z M71.1,14.4L64.4,21c3.8,3.8,6,8.9,6,14.4c0,5.4-2.1,10.5-5.9,14.4l6.6,6.6 c5.6-5.6,8.7-13.1,8.7-21C79.8,27.4,76.7,20,71.1,14.4z"/>
</svg>

After

Width:  |  Height:  |  Size: 900 B