Removed obsolete out-commented lines.

This commit is contained in:
Gerhard Hoffmann 2023-08-07 13:55:52 +02:00
parent 4d2d38e45c
commit 4caa0c0d83

View File

@ -140,28 +140,6 @@ void Worker::privateUpdate() {
QPushButton *start = qobject_cast<QPushButton *>(QObject::sender());
start->setEnabled(false);
#if 0
emit appendText("\nConnecting backend ...");
for (int i=0;i <= 100; ++i) {
setProgress(i);
QThread::msleep(100);
}
emit replaceLast("Connecting backend ...", UPDATE_STEP_OK);
emit appendText(QString("UPDATE "), UPDATE_STEP_SUCCESS);
emit appendText(QString("UPDATE "), UPDATE_STEP_FAIL);
setProgress(0);
startProgressLoop();
QThread::sleep(5); // long running process
stopProgressLoop();
for (int i=m_mainWindow->progressValue()/10; i <= 100; ++i) {
setProgress(i);
QThread::msleep(100);
}
return;
#endif
emit stopStartTimer();
emit disableExit();
m_updateProcessRunning = true;