forked from qt-creator/qt-creator
Wizard: Make wizards report which type of projects they can support
Use that information to decide whether the wizard is a File or ProjectWizard Change-Id: Ie630e206317c7e01e77c811819cb95b360a04e09 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "genericprojectwizard.h"
|
||||
#include "genericprojectconstants.h"
|
||||
#include "filesselectionwizardpage.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -114,7 +115,7 @@ QString GenericProjectWizardDialog::projectName() const
|
||||
|
||||
GenericProjectWizard::GenericProjectWizard()
|
||||
{
|
||||
setWizardKind(ProjectWizard);
|
||||
setSupportedProjectTypes({ Constants::GENERICPROJECT_ID });
|
||||
// TODO do something about the ugliness of standard icons in sizes different than 16, 32, 64, 128
|
||||
{
|
||||
QPixmap icon(22, 22);
|
||||
|
||||
Reference in New Issue
Block a user