Skip to content

Commit

Permalink
Update hitparade favicon.
Browse files Browse the repository at this point in the history
  • Loading branch information
bohning committed Aug 25, 2024
1 parent e422c15 commit 104b830
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/QUMainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ Tasks</string>
</property>
<property name="icon">
<iconset resource="resources/UltraStar-Manager.qrc">
<normaloff>:/faviconHitparade.ico</normaloff>:/faviconHitparade.ico</iconset>
<normaloff>:/faviconHitparade.png</normaloff>:/faviconHitparade.png</iconset>
</property>
<property name="iconSize">
<size>
Expand Down
2 changes: 1 addition & 1 deletion src/resources/UltraStar-Manager.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<file>faviconAllMusic.ico</file>
<file>faviconDiscogs.ico</file>
<file>faviconFanart.ico</file>
<file>faviconHitparade.ico</file>
<file>faviconHitparade.png</file>
</qresource>
<qresource prefix="/bullets">
<file>arrow_down_small.png</file>
Expand Down
Binary file removed src/resources/faviconHitparade.ico
Binary file not shown.
Binary file added src/resources/faviconHitparade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/songtree/QUSongTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ QMenu* QUSongTree::itemMenu(QUSongItem *item) {
menu->addAction(QIcon(":/faviconGoogle.ico"),tr("Search for background on Google Images..."), this, SLOT(searchForBackgroundOnGoogleImages()));
menu->addAction(QIcon(":/faviconGoogle.ico"),tr("Search for video on Google Video..."), this, SLOT(searchForVideoOnGoogleVideo()));
menu->addAction(QIcon(":/faviconYoutube.ico"),tr("Search for video on Youtube..."), this, SLOT(searchForVideoOnYoutube()));
menu->addAction(QIcon(":/faviconHitparade.ico"),tr("Look up on Hitparade.ch..."), this, SLOT(lookUpOnHitparade()));
menu->addAction(QIcon(":/faviconHitparade.png"),tr("Look up on Hitparade.ch..."), this, SLOT(lookUpOnHitparade()));
menu->addAction(QIcon(":/faviconUSDB.ico"),tr("Look up on USDB..."), this, SLOT(lookUpOnUSDB()));

if ( item->song()->songFileInfo().dir().entryList(QStringList("*.txt"), QDir::Files).size() == 2 ) {
Expand Down
2 changes: 1 addition & 1 deletion src/webinfo/QUWebInfoTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ QUWebInfoTree::QUWebInfoTree(QWidget *parent): QTreeWidget(parent) {

this->addTopLevelItem(_hitparade);

_hitparade->setIcon(0, QIcon(":/faviconHitparade.ico"));
_hitparade->setIcon(0, QIcon(":/faviconHitparade.png"));
_hitparade->setText(0, tr("hitparade.ch"));
_hitparade->setFlags(Qt::ItemIsEnabled);
_hitparade->setForeground(0, Qt::darkGray);
Expand Down

0 comments on commit 104b830

Please sign in to comment.