IWizardFactory: Use Core::Id to identify a wizard

Change-Id: I9e1e9ce9a61d7d06a9869f309ed3089d843137a2
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-05-18 17:45:04 +02:00
parent bd53d27e8b
commit a19f9f683a
14 changed files with 20 additions and 16 deletions

View File

@@ -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,