summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projectwizardpage.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <qtc-committer@nokia.com>2008-12-03 15:04:51 +0100
committerFriedemann Kleint <qtc-committer@nokia.com>2008-12-03 15:04:51 +0100
commit0b99d82d4e8dacb9391508e4123c58c409809f7b (patch)
treeaa34169b163f8c787c5887eb787fee682cf91329 /src/plugins/projectexplorer/projectwizardpage.cpp
parent876c775805edb85ab15717f6e2dd767d31db0d65 (diff)
downloadqt-creator-0b99d82d4e8dacb9391508e4123c58c409809f7b.tar.gz
Fixes: Enable switching of VCS according to currentProject
Task: 205821 RevBy: con Details: Add a IVersionControl to git. Extend IF to able to return a name and add enabling options. Connect project explorer to enable the right VCS.
Diffstat (limited to 'src/plugins/projectexplorer/projectwizardpage.cpp')
-rw-r--r--src/plugins/projectexplorer/projectwizardpage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectwizardpage.cpp b/src/plugins/projectexplorer/projectwizardpage.cpp
index 8a2873c336..8912fbb9e9 100644
--- a/src/plugins/projectexplorer/projectwizardpage.cpp
+++ b/src/plugins/projectexplorer/projectwizardpage.cpp
@@ -108,6 +108,11 @@ void ProjectWizardPage::changeEvent(QEvent *e)
}
}
+void ProjectWizardPage::setVCSDisplay(const QString &vcsName)
+{
+ m_ui->addToVersionControlLabel->setText(tr("Add to &VCS (%1)").arg(vcsName));
+}
+
void ProjectWizardPage::setFilesDisplay(const QStringList &files)
{
QString fileMessage; {