diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-04-22 08:19:23 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-04-22 08:19:23 (GMT) |
commit | 5692527f418163d21e5e2f4a4dc76c65c30150ee (patch) | |
tree | 6d28285ac2e7705559ecadffb11df55fc5e8ccb2 /tools/qtconfig/mainwindow.cpp | |
parent | 7e627a0b71eda8028bc40fd38e3d5a27496872ac (diff) | |
download | Qt-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.cpp | 2 |
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); |