summaryrefslogtreecommitdiffstats
path: root/tools/qtconfig/mainwindow.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-04-22 08:19:23 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-22 08:19:23 (GMT)
commit5692527f418163d21e5e2f4a4dc76c65c30150ee (patch)
tree6d28285ac2e7705559ecadffb11df55fc5e8ccb2 /tools/qtconfig/mainwindow.cpp
parent7e627a0b71eda8028bc40fd38e3d5a27496872ac (diff)
downloadQt-5692527f418163d21e5e2f4a4dc76c65c30150ee.zip
Qt-5692527f418163d21e5e2f4a4dc76c65c30150ee.tar.gz
Qt-5692527f418163d21e5e2f4a4dc76c65c30150ee.tar.bz2
[qtconfig app] Add an app icon.
Thanks to Mario Carrion for the patch. Task-number: QTBUG-10099 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'tools/qtconfig/mainwindow.cpp')
-rw-r--r--tools/qtconfig/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qtconfig/mainwindow.cpp b/tools/qtconfig/mainwindow.cpp
index 0de4b43..1c490e2 100644
--- a/tools/qtconfig/mainwindow.cpp
+++ b/tools/qtconfig/mainwindow.cpp
@@ -63,6 +63,7 @@
#include <QInputContext>
#include <QInputContextFactory>
#include <QtDebug>
+#include <QPixmap>
#include <stdlib.h>
@@ -202,6 +203,7 @@ MainWindow::MainWindow()
{
modified = true;
desktopThemeName = tr("Desktop Settings (Default)");
+ setIcon(QPixmap(":/trolltech/qtconfig/images/appicon.png"));
QStringList gstyles = QStyleFactory::keys();
gstyles.sort();
gstylecombo->addItem(desktopThemeName);