diff --git a/UpdatePTUDevCtrl/mainwindow.cpp b/UpdatePTUDevCtrl/mainwindow.cpp
index e7cae63..9c1a4dc 100644
--- a/UpdatePTUDevCtrl/mainwindow.cpp
+++ b/UpdatePTUDevCtrl/mainwindow.cpp
@@ -200,14 +200,17 @@ void MainWindow::onShowCustRepoStatus(QString status) {
QString s = ui->stepLabel->text();
s.chop(m_stepLabelChopCount);
- QString tmp("Check customer repository ");
+ QString tmp("Update customer repository ");
int len = m_showLineLength - tmp.length();
while (--len > 0) {
tmp += " ";
}
- if (status.contains(UpdateCommand::GIT_CUSTOMER_REPO_UP_TO_DATE, Qt::CaseInsensitive)) {
- s += QString("%1 up to date
").arg(tmp);
+ if (status.contains(internal::GIT_CUSTOMER_REPO_UP_TO_DATE, Qt::CaseInsensitive)) {
+ s += QString("%1 %2
").arg(tmp).arg(internal::GIT_CUSTOMER_REPO_UP_TO_DATE);
+ } else
+ if (status.contains(internal::GIT_CUSTOMER_REPO_NOT_NECESSARY, Qt::CaseInsensitive)) {
+ s += QString("%1 %2
").arg(tmp).arg(internal::GIT_CUSTOMER_REPO_NOT_NECESSARY);
} else {
s += QString( "%1 UNKNOWN STATUS
").arg(tmp);
}
@@ -399,7 +402,7 @@ void MainWindow::onShowUpdateRequest(QString status) {
}
m_stepLabelChopCount = -s.length();
- s += "Check customer repository";
+ s += "Update customer repository";
m_stepLabelChopCount += s.length();
ui->stepLabel->setText(s);