Designer: Fix compile for gcc 4.7.3

Introduced with 25f2f8e1ee

Change-Id: Ic84fa409bea0aec7db4dce66d468f80c845a3673
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Stenger
2015-05-27 06:48:53 +02:00
committed by Orgad Shaneh
parent e325a74098
commit bc18b4e136

View File

@@ -87,7 +87,7 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error)
#ifdef CPP_ENABLED #ifdef CPP_ENABLED
IWizardFactory::registerFactoryCreator( IWizardFactory::registerFactoryCreator(
[]() -> QList<IWizardFactory *> { [this]() -> QList<IWizardFactory *> {
IWizardFactory *wizard = new FormClassWizard; IWizardFactory *wizard = new FormClassWizard;
wizard->setWizardKind(IWizardFactory::FileWizard); wizard->setWizardKind(IWizardFactory::FileWizard);
wizard->setCategory(QLatin1String(Core::Constants::WIZARD_CATEGORY_QT)); wizard->setCategory(QLatin1String(Core::Constants::WIZARD_CATEGORY_QT));