From 10c62f114766f49140530ad1fb0aba9e42b07a52 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 18 Jun 2016 19:54:38 +0200 Subject: [PATCH] Changed: Use same directory as installer if downloading files --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp index 405ea837d..3f593dae0 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp @@ -658,7 +658,7 @@ void COperationDialog::copyInstaller() CFilesCopier copier(this); copier.setIncludeFilter(filter); copier.addFile(oldInstallerFullPath); - copier.setSourceDirectory(config->getSrcServerDirectory()); + copier.setSourceDirectory(config->getSrcServerDirectory().isEmpty() ? QApplication::applicationDirPath():config->getSrcServerDirectory()); copier.setDestinationDirectory(config->getInstallationDirectory()); copier.exec();