mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-29 18:49:51 +01:00
Use PNG spotify icons instead of SVG
This commit is contained in:
parent
896564a7d9
commit
6446ef8b9e
@ -49,7 +49,9 @@
|
|||||||
<file>providers/magnatune.png</file>
|
<file>providers/magnatune.png</file>
|
||||||
<file>schema/schema-8.sql</file>
|
<file>schema/schema-8.sql</file>
|
||||||
<file>schema/schema-9.sql</file>
|
<file>schema/schema-9.sql</file>
|
||||||
<file>icons/svg/spotify.svg</file>
|
<file>icons/22x22/spotify.png</file>
|
||||||
|
<file>icons/32x32/spotify.png</file>
|
||||||
|
<file>icons/48x48/spotify.png</file>
|
||||||
<file>icons/22x22/application-exit.png</file>
|
<file>icons/22x22/application-exit.png</file>
|
||||||
<file>icons/22x22/applications-internet.png</file>
|
<file>icons/22x22/applications-internet.png</file>
|
||||||
<file>icons/22x22/configure.png</file>
|
<file>icons/22x22/configure.png</file>
|
||||||
|
BIN
data/icons/22x22/spotify.png
Normal file
BIN
data/icons/22x22/spotify.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
data/icons/32x32/spotify.png
Normal file
BIN
data/icons/32x32/spotify.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
BIN
data/icons/48x48/spotify.png
Normal file
BIN
data/icons/48x48/spotify.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
@ -28,7 +28,7 @@ SpotifySearchProvider::SpotifySearchProvider(QObject* parent)
|
|||||||
server_(NULL),
|
server_(NULL),
|
||||||
service_(NULL)
|
service_(NULL)
|
||||||
{
|
{
|
||||||
Init("Spotify", "spotify", QIcon(":icons/svg/spotify.svg"),
|
Init("Spotify", "spotify", QIcon(":icons/32x32/spotify.png"),
|
||||||
WantsDelayedQueries | WantsSerialisedArtQueries | ArtIsProbablyRemote);
|
WantsDelayedQueries | WantsSerialisedArtQueries | ArtIsProbablyRemote);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ SpotifySearchPlaylistType::SpotifySearchPlaylistType(SpotifyService* service)
|
|||||||
}
|
}
|
||||||
|
|
||||||
QIcon SpotifySearchPlaylistType::icon(Playlist* playlist) const {
|
QIcon SpotifySearchPlaylistType::icon(Playlist* playlist) const {
|
||||||
return QIcon(":icons/svg/spotify.svg");
|
return QIcon(":icons/32x32/spotify.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString SpotifySearchPlaylistType::search_hint_text(Playlist* playlist) const {
|
QString SpotifySearchPlaylistType::search_hint_text(Playlist* playlist) const {
|
||||||
|
@ -85,7 +85,7 @@ SpotifyService::~SpotifyService() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QStandardItem* SpotifyService::CreateRootItem() {
|
QStandardItem* SpotifyService::CreateRootItem() {
|
||||||
root_ = new QStandardItem(QIcon(":icons/svg/spotify.svg"), kServiceName);
|
root_ = new QStandardItem(QIcon(":icons/22x22/spotify.png"), kServiceName);
|
||||||
root_->setData(true, InternetModel::Role_CanLazyLoad);
|
root_->setData(true, InternetModel::Role_CanLazyLoad);
|
||||||
return root_;
|
return root_;
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@ SpotifySettingsPage::SpotifySettingsPage(SettingsDialog* dialog)
|
|||||||
{
|
{
|
||||||
ui_->setupUi(this);
|
ui_->setupUi(this);
|
||||||
|
|
||||||
setWindowIcon(QIcon(":/icons/svg/spotify.svg"));
|
setWindowIcon(QIcon(":/icons/48x48/spotify.png"));
|
||||||
|
|
||||||
QFont bold_font(font());
|
QFont bold_font(font());
|
||||||
bold_font.setBold(true);
|
bold_font.setBold(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user