VCS: Use better terms on checkout wizard for DVCS

Change-Id: I9064c71787dbfb1eee6f8f473df39dda23a1252a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-08-29 13:37:45 +03:00
committed by Orgad Shaneh
parent 3eac49d9c3
commit f0147ba19f
10 changed files with 39 additions and 3 deletions

View File

@@ -53,6 +53,7 @@ namespace Internal {
CheckoutProgressWizardPage::CheckoutProgressWizardPage(QWidget *parent) :
QWizardPage(parent),
ui(new Ui::CheckoutProgressWizardPage),
m_startedStatus(tr("Checkout started...")),
m_state(Idle)
{
ui->setupUi(this);
@@ -66,6 +67,11 @@ CheckoutProgressWizardPage::~CheckoutProgressWizardPage()
delete ui;
}
void CheckoutProgressWizardPage::setStartedStatus(const QString &startedStatus)
{
m_startedStatus = startedStatus;
}
void CheckoutProgressWizardPage::start(Command *command)
{
if (!command) {
@@ -80,7 +86,7 @@ void CheckoutProgressWizardPage::start(Command *command)
connect(command, SIGNAL(finished(bool,int,QVariant)), this, SLOT(slotFinished(bool,int,QVariant)));
QApplication::setOverrideCursor(Qt::WaitCursor);
ui->logPlainTextEdit->clear();
ui->statusLabel->setText(tr("Checkout started..."));
ui->statusLabel->setText(m_startedStatus);
ui->statusLabel->setPalette(QPalette());
m_state = Running;
command->execute();