Rockbox Utility: make the window icon also include a larger one.
On Windows extend the QIcon used as window icon with the bigger Rockbox icon as well. W7 wants a larger one for the taskbar if large icons are enabled, and for the task switcher. Scaling the small one up looks ugly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30630 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ed15d53919
commit
981af6d3e1
1 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,12 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
|
|||
QIcon windowIcon(":/icons/rockbox-clef.svg");
|
||||
this->setWindowIcon(windowIcon);
|
||||
#endif
|
||||
#if defined(Q_OS_WIN32)
|
||||
QIcon windowIcon = QIcon();
|
||||
windowIcon.addFile(":/icons/rockbox-1.png");
|
||||
windowIcon.addFile(":/icons/rockbox-5.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.
|
||||
|
|
Loading…
Reference in a new issue