|
|
@ -28,12 +28,6 @@ Wizard::InstallationPage::InstallationPage(QWidget *parent) :
|
|
|
|
connect(mUnshield, SIGNAL(finished()),
|
|
|
|
connect(mUnshield, SIGNAL(finished()),
|
|
|
|
mThread, SLOT(quit()));
|
|
|
|
mThread, SLOT(quit()));
|
|
|
|
|
|
|
|
|
|
|
|
connect(mUnshield, SIGNAL(finished()),
|
|
|
|
|
|
|
|
mUnshield, SLOT(deleteLater()));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
connect(mUnshield, SIGNAL(finished()),
|
|
|
|
|
|
|
|
mThread, SLOT(deleteLater()));;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
connect(mUnshield, SIGNAL(finished()),
|
|
|
|
connect(mUnshield, SIGNAL(finished()),
|
|
|
|
this, SLOT(installationFinished()), Qt::QueuedConnection);
|
|
|
|
this, SLOT(installationFinished()), Qt::QueuedConnection);
|
|
|
|
|
|
|
|
|
|
|
@ -60,6 +54,7 @@ Wizard::InstallationPage::~InstallationPage()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (mThread->isRunning()) {
|
|
|
|
if (mThread->isRunning()) {
|
|
|
|
mUnshield->stopWorker();
|
|
|
|
mUnshield->stopWorker();
|
|
|
|
|
|
|
|
mThread->quit();
|
|
|
|
mThread->wait();
|
|
|
|
mThread->wait();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|