VcsBase: Remove BaseCheckoutWizard::setCustomLabels()

Also assert that d->wizard is not in use already and use d->wizard
consistently.

Change-Id: I85599f80e92edb2a0a0fc52c5fed1e484d0beac9
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2014-05-05 16:24:00 +02:00
parent e9526eadb8
commit 6644a08c21
5 changed files with 19 additions and 24 deletions

View File

@@ -43,7 +43,6 @@ namespace Internal {
CloneWizardFactory::CloneWizardFactory()
{
setId(QLatin1String(VcsBase::Constants::VCS_ID_GIT));
setCustomLabels(tr("Cloning"), tr("Cloning started..."));
setIcon(QIcon(QLatin1String(":/git/images/git.png")));
setDescription(tr("Clones a Git repository and tries to load the contained project."));
setDisplayName(tr("Git Repository Clone"));
@@ -87,7 +86,10 @@ VcsBase::Command *CloneWizardFactory::createCommand(const QList<QWizardPage*> &p
CloneWizard::CloneWizard(const QList<QWizardPage *> &parameterPages, QWidget *parent) :
VcsBase::BaseCheckoutWizard(parameterPages, parent)
{ }
{
setTitle(tr("Cloning"));
setStartedStatus(tr("Cloning started..."));
}
} // namespace Internal
} // namespace Git