summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-03-29 19:55:51 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-03-29 19:55:51 +0000
commitebae47489334edec5fb233ee5c247eaf973df390 (patch)
treea164ae760adc6af195a92bec1b0f36214001554b /rbutil/rbutilqt/rbutilqt.cpp
parentd17587482196bcc5c6b940dea0056e1968fcf4b5 (diff)
downloadrockbox-ebae47489334edec5fb233ee5c247eaf973df390.tar.gz
rockbox-ebae47489334edec5fb233ee5c247eaf973df390.tar.bz2
rockbox-ebae47489334edec5fb233ee5c247eaf973df390.zip
Add Rockbox Utility SVG window icon on Linux.
Create a svg version of the clef icon for Rockbox Utility and set it as window icon on Linux; icon created from the svg logo in the manual. Addresses FS#11094. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25385 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index ececb782d4..739b7f42d0 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -77,6 +77,11 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
HttpGet::setGlobalUserAgent("rbutil/"VERSION);
// init startup & autodetection
ui.setupUi(this);
+#if defined(Q_OS_LINUX)
+ QIcon windowIcon(":/icons/rockbox-clef.svg");
+ this->setWindowIcon(windowIcon);
+#endif
+
downloadInfo();
m_gotInfo = false;