From 0ca017096fb5439e37a18d940eafc4f4310e5a3c 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 --- .../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 {