path: root/rbutil/rbutilqt
diff options
authorDominik Riebeling <>2011-10-01 21:00:09 +0000
committerDominik Riebeling <>2011-10-01 21:00:09 +0000
commit981af6d3e17b531fa8dbfd8733ff2b00787e9465 (patch)
tree9465351e48c4e31722d438fc5967d3bb996aff1b /rbutil/rbutilqt
parented15d53919fc6b9d7945230611f48b25f21caad3 (diff)
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:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt')
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");
+#if defined(Q_OS_WIN32)
+ QIcon windowIcon = QIcon();
+ windowIcon.addFile(":/icons/rockbox-1.png");
+ windowIcon.addFile(":/icons/rockbox-5.png");
+ this->setWindowIcon(windowIcon);
#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.