rbutil: Always use svg icon for Window icon.

Since we now have svg support enabled (and used) for all platforms we
can simply use the svg one, and bring it in line with the rest of the
icon.

Change-Id: If99f1be0205de1a87eb727c33400811620d9876d
This commit is contained in:
Dominik Riebeling 2020-12-14 18:30:07 +01:00
parent 7ae98845f0
commit 2b00166a00
8 changed files with 0 additions and 19 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 985 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -88,20 +88,8 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
HttpGet::setGlobalProxy(proxy());
// init startup & autodetection
ui.setupUi(this);
#if defined(Q_OS_LINUX)
QIcon windowIcon(":/icons/rockbox-clef.svg");
this->setWindowIcon(windowIcon);
#endif
#if defined(Q_OS_WIN32)
QIcon windowIcon = QIcon();
windowIcon.addFile(":/icons/rockbox-16.png");
windowIcon.addFile(":/icons/rockbox-32.png");
windowIcon.addFile(":/icons/rockbox-48.png");
windowIcon.addFile(":/icons/rockbox-64.png");
windowIcon.addFile(":/icons/rockbox-128.png");
windowIcon.addFile(":/icons/rockbox-256.png");
this->setWindowIcon(windowIcon);
#endif
#if defined(Q_OS_MACX)
// don't translate menu entries that are handled specially on OS X
// (Configure, Quit). Qt handles them for us if they use english string.

View file

@ -33,13 +33,6 @@
<file>icons/preferences-desktop-locale.svg</file>
<file>icons/preferences-system.svg</file>
<file>icons/process-stop.svg</file>
<file>icons/rblogo.png</file>
<file>icons/rockbox-16.png</file>
<file>icons/rockbox-32.png</file>
<file>icons/rockbox-48.png</file>
<file>icons/rockbox-64.png</file>
<file>icons/rockbox-128.png</file>
<file>icons/rockbox-256.png</file>
<file>icons/system-search.svg</file>
<file>icons/user-trash-full.svg</file>
<file>icons/view-refresh.svg</file>