forked from qt-creator/qt-creator
Fix build
Broke with f4c3e9d638
Change-Id: I0ea5e4b1a092f92172fe4c9194117ab23473033e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -417,7 +417,7 @@ void NewDialog::addItem(QStandardItem *topLevelCategoryItem, IWizardFactory *fac
|
||||
else
|
||||
wizardIcon = factory->icon();
|
||||
wizardItem->setIcon(iconWithText(wizardIcon, factory->iconText()));
|
||||
wizardItem->setData(QVariant::fromValue(WizardFactoryContainer(factory, nullptr)), Qt::UserRole);
|
||||
wizardItem->setData(QVariant::fromValue(WizardFactoryContainer(factory, 0)), Qt::UserRole);
|
||||
wizardItem->setFlags(Qt::ItemIsEnabled|Qt::ItemIsSelectable);
|
||||
categoryItem->appendRow(wizardItem);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user