forked from qt-creator/qt-creator
ProjectFileWizardExtension:: Remove dead code
Change-Id: I08c74afc07268b661079844cb5b1325606afdd99 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -588,30 +588,6 @@ void ProjectFileWizardExtension::applyCodeStyle(GeneratedFile *file) const
|
|||||||
file->setContents(doc.toPlainText());
|
file->setContents(doc.toPlainText());
|
||||||
}
|
}
|
||||||
|
|
||||||
QStringList ProjectFileWizardExtension::getProjectChoices() const
|
|
||||||
{
|
|
||||||
QStringList projectChoices;
|
|
||||||
QStringList projectToolTips;
|
|
||||||
ProjectNode::ProjectAction projectAction;
|
|
||||||
|
|
||||||
getProjectChoicesAndToolTips(&projectChoices, &projectToolTips, &projectAction,
|
|
||||||
QString(), m_context);
|
|
||||||
|
|
||||||
return projectChoices;
|
|
||||||
}
|
|
||||||
|
|
||||||
QStringList ProjectFileWizardExtension::getProjectToolTips() const
|
|
||||||
{
|
|
||||||
QStringList projectChoices;
|
|
||||||
QStringList projectToolTips;
|
|
||||||
ProjectNode::ProjectAction projectAction;
|
|
||||||
|
|
||||||
getProjectChoicesAndToolTips(&projectChoices, &projectToolTips, &projectAction,
|
|
||||||
QString(), m_context);
|
|
||||||
|
|
||||||
return projectToolTips;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ProjectFileWizardExtension::hideProjectComboBox()
|
void ProjectFileWizardExtension::hideProjectComboBox()
|
||||||
{
|
{
|
||||||
m_context->page->setProjectComoBoxVisible(false);
|
m_context->page->setProjectComoBoxVisible(false);
|
||||||
|
|||||||
@@ -52,9 +52,6 @@ public:
|
|||||||
bool *removeOpenProjectAttribute, QString *errorMessage);
|
bool *removeOpenProjectAttribute, QString *errorMessage);
|
||||||
void applyCodeStyle(Core::GeneratedFile *file) const;
|
void applyCodeStyle(Core::GeneratedFile *file) const;
|
||||||
|
|
||||||
QStringList getProjectChoices() const;
|
|
||||||
QStringList getProjectToolTips() const;
|
|
||||||
|
|
||||||
void hideProjectComboBox();
|
void hideProjectComboBox();
|
||||||
|
|
||||||
void setProjectIndex(int i);
|
void setProjectIndex(int i);
|
||||||
|
|||||||
Reference in New Issue
Block a user