summaryrefslogtreecommitdiff
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
parented15d53919fc6b9d7945230611f48b25f21caad3 (diff)
downloadrockbox-981af6d3e17b531fa8dbfd8733ff2b00787e9465.tar.gz
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
-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)
75 QIcon windowIcon(":/icons/rockbox-clef.svg"); 75 QIcon windowIcon(":/icons/rockbox-clef.svg");
76 this->setWindowIcon(windowIcon); 76 this->setWindowIcon(windowIcon);
77#endif 77#endif
78#if defined(Q_OS_WIN32)
79 QIcon windowIcon = QIcon();
80 windowIcon.addFile(":/icons/rockbox-1.png");
81 windowIcon.addFile(":/icons/rockbox-5.png");
82 this->setWindowIcon(windowIcon);
83#endif
78#if defined(Q_OS_MACX) 84#if defined(Q_OS_MACX)
79 // don't translate menu entries that are handled specially on OS X 85 // don't translate menu entries that are handled specially on OS X
80 // (Configure, Quit). Qt handles them for us if they use english string. 86 // (Configure, Quit). Qt handles them for us if they use english string.