forked from qt-creator/qt-creator
New dialog: Replace "Preferred wizards" concept by remembering the last category
Reviewed-by: trustme
This commit is contained in:
@@ -56,7 +56,6 @@ ICore* ICore::instance()
|
||||
}
|
||||
|
||||
CoreImpl::CoreImpl(MainWindow *mainwindow)
|
||||
: m_preferredWizardKinds(IWizard::ProjectWizard)
|
||||
{
|
||||
m_instance = this;
|
||||
m_mainwindow = mainwindow;
|
||||
@@ -69,11 +68,6 @@ QStringList CoreImpl::showNewItemDialog(const QString &title,
|
||||
return m_mainwindow->showNewItemDialog(title, wizards, defaultLocation);
|
||||
}
|
||||
|
||||
void CoreImpl::setNewItemDialogPreferredWizardKinds(IWizard::WizardKinds kinds)
|
||||
{
|
||||
m_preferredWizardKinds = kinds;
|
||||
}
|
||||
|
||||
bool CoreImpl::showOptionsDialog(const QString &group, const QString &page, QWidget *parent)
|
||||
{
|
||||
return m_mainwindow->showOptionsDialog(group, page, parent);
|
||||
|
||||
Reference in New Issue
Block a user