mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Fixed: Only ask once if user want to uninstall Ryzom, see #279
--HG-- branch : develop
This commit is contained in:
parent
5050a2bfa0
commit
fb934818a7
1 changed files with 5 additions and 0 deletions
|
@ -793,9 +793,14 @@ void COperationDialog::uninstallOldClient()
|
||||||
|
|
||||||
if (button == QMessageBox::Yes)
|
if (button == QMessageBox::Yes)
|
||||||
{
|
{
|
||||||
|
// remember the choice
|
||||||
CConfigFile::getInstance()->setShouldUninstallOldClient(true);
|
CConfigFile::getInstance()->setShouldUninstallOldClient(true);
|
||||||
|
|
||||||
|
// launch old uninstaller
|
||||||
QDesktopServices::openUrl(QUrl::fromLocalFile(uninstaller));
|
QDesktopServices::openUrl(QUrl::fromLocalFile(uninstaller));
|
||||||
|
|
||||||
|
// to not ask twice
|
||||||
|
CConfigFile::getInstance()->setUninstallingOldClient(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue