Commit 93eb4676f34988055b1b98efd96da58d47122153
1 parent
aef5c1875e
Exists in
master
and in
2 other branches
GUI V1.0.7
- 쿡북 비밀번호 변경
Showing
2 changed files
with
9 additions
and
5 deletions
Show diff stats
app/gui/oven_control/define.h
app/gui/oven_control/fileprocessdlg.cpp
... | ... | @@ -596,7 +596,7 @@ void FileProcessDlg::onProgressFinished(){ |
596 | 596 | |
597 | 597 | FileProcessor::detectUSB(strDescPath); |
598 | 598 | |
599 | - strZipCmd = QString("sh -c \"unzip -P 1234 %1/prime/prime.zip -d /prime\"").arg(strDescPath); | |
599 | + strZipCmd = QString("sh -c \"unzip -P primeov980308 %1/prime/prime.zip -d /prime\"").arg(strDescPath); | |
600 | 600 | QFileInfo info(QString("%1/prime/prime.zip").arg(strDescPath)); |
601 | 601 | |
602 | 602 | |
... | ... | @@ -646,9 +646,13 @@ void FileProcessDlg::onProgressFinished(){ |
646 | 646 | process.start("sync"); |
647 | 647 | process.waitForFinished(); |
648 | 648 | qDebug() << QTime::currentTime(); |
649 | + ui->ctrLbRemainTime->setText(tr("CookBook Upload Success!.")); | |
650 | + QTimer::singleShot(2000,this, SLOT(close())); | |
651 | + } | |
652 | + else{ | |
653 | + ui->ctrLbRemainTime->setText(tr("완료")); | |
654 | + QTimer::singleShot(2000,this, SLOT(close())); | |
649 | 655 | } |
650 | - ui->ctrLbRemainTime->setText(tr("완료")); | |
651 | - QTimer::singleShot(1000,this, SLOT(close())); | |
652 | 656 | } |
653 | 657 | |
654 | 658 | void FileProcessDlg::onErrorFired(QString Desc) | ... | ... |