Changed: Use same directory as installer if downloading files
This commit is contained in:
parent
31525e849c
commit
abe9fbfc9d
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ void COperationDialog::copyInstaller()
|
||||||
CFilesCopier copier(this);
|
CFilesCopier copier(this);
|
||||||
copier.setIncludeFilter(filter);
|
copier.setIncludeFilter(filter);
|
||||||
copier.addFile(oldInstallerFullPath);
|
copier.addFile(oldInstallerFullPath);
|
||||||
copier.setSourceDirectory(config->getSrcServerDirectory());
|
copier.setSourceDirectory(config->getSrcServerDirectory().isEmpty() ? QApplication::applicationDirPath():config->getSrcServerDirectory());
|
||||||
copier.setDestinationDirectory(config->getInstallationDirectory());
|
copier.setDestinationDirectory(config->getInstallationDirectory());
|
||||||
copier.exec();
|
copier.exec();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue