summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-10-01 21:00:09 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-10-01 21:00:09 +0000
commit981af6d3e17b531fa8dbfd8733ff2b00787e9465 (patch)
tree9465351e48c4e31722d438fc5967d3bb996aff1b /rbutil
parented15d53919fc6b9d7945230611f48b25f21caad3 (diff)
downloadrockbox-981af6d3e17b531fa8dbfd8733ff2b00787e9465.tar.gz
rockbox-981af6d3e17b531fa8dbfd8733ff2b00787e9465.tar.bz2
rockbox-981af6d3e17b531fa8dbfd8733ff2b00787e9465.zip
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
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 4a3648618e..2238136d20 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -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.