diff options
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp')
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp b/src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp index eafbc0385b..f913cc7d82 100644 --- a/src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp +++ b/src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp @@ -61,14 +61,7 @@ QmlProjectApplicationWizard::~QmlProjectApplicationWizard() Core::BaseFileWizardParameters QmlProjectApplicationWizard::parameters() { Core::BaseFileWizardParameters parameters(ProjectWizard); - // TODO: provide icons in correct size - { - QPixmap icon(22, 22); - icon.fill(Qt::transparent); - QPainter p(&icon); - p.drawPixmap(3, 3, 16, 16, QPixmap(QLatin1String(Constants::QML_WIZARD_ICON))); - parameters.setIcon(icon); - } + parameters.setIcon(QIcon(QLatin1String(Constants::QML_WIZARD_ICON))); parameters.setDisplayName(tr("Qt QML Application")); parameters.setId(QLatin1String("QA.QML Application")); parameters.setDescription(tr("Creates a Qt QML application project with a single QML file containing the main view.\n\n" |