Wizards: Delay parsing of custom wizards.

... by introducing signal ICore::showNewItemsDialog().

Reviewed-by: Kai Köhne <kai.koehne@nokia.com>
This commit is contained in:
Friedemann Kleint
2010-08-27 09:50:34 +02:00
parent 1a9c69ddb0
commit e5f60a956f
6 changed files with 27 additions and 13 deletions

View File

@@ -885,6 +885,7 @@ QStringList MainWindow::showNewItemDialog(const QString &title,
const QList<IWizard *> &wizards,
const QString &defaultLocation)
{
emit m_coreImpl->newItemsDialogRequested();
// Scan for wizards matching the filter and pick one. Don't show
// dialog if there is only one.
IWizard *wizard = 0;