forked from qt-creator/qt-creator
IWizardFactory: Use Core::Id to identify a wizard
Change-Id: I9e1e9ce9a61d7d06a9869f309ed3089d843137a2 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -244,7 +244,7 @@ static bool wizardFactoryLessThan(const IWizardFactory *f1, const IWizardFactory
|
||||
{
|
||||
if (const int cc = f1->category().compare(f2->category()))
|
||||
return cc < 0;
|
||||
return f1->id().compare(f2->id()) < 0;
|
||||
return f1->id().toString().compare(f2->id().toString()) < 0;
|
||||
}
|
||||
|
||||
void NewDialog::setWizardFactories(QList<IWizardFactory *> factories,
|
||||
|
||||
Reference in New Issue
Block a user