forked from qt-creator/qt-creator
New Dialog: Remove unused method
Change-Id: I182b162d732580c5d7ee8205f056885d384c3acc Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -337,12 +337,6 @@ QString NewDialog::selectedPlatform() const
|
|||||||
return m_ui->comboBox->itemData(index).toString();
|
return m_ui->comboBox->itemData(index).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
int NewDialog::selectedWizardOption() const
|
|
||||||
{
|
|
||||||
QStandardItem *item = m_model->itemFromIndex(m_ui->templatesView->currentIndex());
|
|
||||||
return item->data(Qt::UserRole).value<WizardContainer>().wizardOption;
|
|
||||||
}
|
|
||||||
|
|
||||||
NewDialog::~NewDialog()
|
NewDialog::~NewDialog()
|
||||||
{
|
{
|
||||||
delete m_ui;
|
delete m_ui;
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ public:
|
|||||||
|
|
||||||
Core::IWizard *showDialog();
|
Core::IWizard *showDialog();
|
||||||
QString selectedPlatform() const;
|
QString selectedPlatform() const;
|
||||||
int selectedWizardOption() const;
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void currentCategoryChanged(const QModelIndex &);
|
void currentCategoryChanged(const QModelIndex &);
|
||||||
|
|||||||
Reference in New Issue
Block a user