From fb934818a7c43f12105682aac7f0f3f0ae46eb3f Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 14 Sep 2016 08:13:20 +0200 Subject: [PATCH] Fixed: Only ask once if user want to uninstall Ryzom, see #279 --HG-- branch : develop --- .../tools/client/ryzom_installer/src/operationdialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp index 6ea65aeeb..5f3215e31 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp @@ -793,9 +793,14 @@ void COperationDialog::uninstallOldClient() if (button == QMessageBox::Yes) { + // remember the choice CConfigFile::getInstance()->setShouldUninstallOldClient(true); + // launch old uninstaller QDesktopServices::openUrl(QUrl::fromLocalFile(uninstaller)); + + // to not ask twice + CConfigFile::getInstance()->setUninstallingOldClient(true); } else {