Core: Replace an in-Core connection by a direct call

Change-Id: Ic219a992658e080467a18d38121a41990cc377ce
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2018-02-01 11:47:30 +01:00
parent 974022c77b
commit e712c8b7e2
2 changed files with 2 additions and 3 deletions

View File

@@ -202,9 +202,6 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage)
expander->registerPrefix("#:", tr("A comment."), [](const QString &) { return QString(); });
// Make sure all wizards are there when the user might access the keyboard shortcuts:
connect(ICore::instance(), &ICore::optionsDialogRequested, []() { IWizardFactory::allWizardFactories(); });
Utils::PathChooser::setAboutToShowContextMenuHandler(&CorePlugin::addToPathChooserContextMenu);
return success;