forked from qt-creator/qt-creator
Core: Make Id and Feature more separate
Remove Id from the public interfaces of Feature and FeatureSet and disallow implicit conversions from Id to Feature. Change-Id: I33ba692ce82552f0c2b867c6c57b9c8547264243 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -52,7 +52,7 @@ CustomWidgetWizard::CustomWidgetWizard()
|
||||
setDisplayName(tr("Qt Custom Designer Widget"));
|
||||
setDescription(tr("Creates a Qt Custom Designer Widget or a Custom Widget Collection."));
|
||||
setIcon(QIcon(QLatin1String(":/wizards/images/gui.png")));
|
||||
setRequiredFeatures(Core::Feature(QtSupport::Constants::FEATURE_QWIDGETS));
|
||||
setRequiredFeatures(Core::FeatureSet(QtSupport::Constants::FEATURE_QWIDGETS));
|
||||
}
|
||||
|
||||
Core::BaseFileWizard *CustomWidgetWizard::create(QWidget *parent, const Core::WizardDialogParameters ¶meters) const
|
||||
|
||||
Reference in New Issue
Block a user