Changed: Call accept() or reject() depending on next action
This commit is contained in:
parent
f8d2c30957
commit
e79aa31372
1 changed files with 5 additions and 1 deletions
|
@ -139,6 +139,10 @@ void COperationDialog::processNextStep()
|
||||||
createDefaultShortcuts();
|
createDefaultShortcuts();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case CConfigFile::Done:
|
||||||
|
accept();
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// cases already managed in main.cpp
|
// cases already managed in main.cpp
|
||||||
break;
|
break;
|
||||||
|
@ -221,7 +225,7 @@ void COperationDialog::onProgressStop()
|
||||||
m_button->progress()->hide();
|
m_button->progress()->hide();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
close();
|
reject();
|
||||||
}
|
}
|
||||||
|
|
||||||
void COperationDialog::onProgressProgress(qint64 current, const QString &filename)
|
void COperationDialog::onProgressProgress(qint64 current, const QString &filename)
|
||||||
|
|
Loading…
Reference in a new issue