Changed: Call setUninstallingOldClient before, see #279

--HG--
branch : develop
This commit is contained in:
kervala 2016-09-19 14:35:29 +02:00
parent b7d37b71e3
commit 7b4ab5efa7

View file

@ -793,14 +793,14 @@ void COperationDialog::uninstallOldClient()
if (button == QMessageBox::Yes)
{
// to not ask twice
CConfigFile::getInstance()->setUninstallingOldClient(true);
// remember the choice
CConfigFile::getInstance()->setShouldUninstallOldClient(true);
// launch old uninstaller
QDesktopServices::openUrl(QUrl::fromLocalFile(uninstaller));
// to not ask twice
CConfigFile::getInstance()->setUninstallingOldClient(true);
}
else
{