mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 04:51:48 +00:00
Changed: Use same directory as installer if downloading files
This commit is contained in:
parent
e20aa73c3b
commit
2a6989c9b5
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