1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

fix deprecated

This commit is contained in:
Laserlicht
2024-01-06 00:04:01 +01:00
committed by GitHub
parent eca1dba750
commit 33efcbac35

View File

@@ -279,7 +279,7 @@ void FirstLaunchView::copyHeroesData(const QString & path)
QDir sourceRoot = QDir(path);
if(path.isEmpty())
sourceRoot = QFileDialog::getExistingDirectory(this, "", "", QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
sourceRoot.setPath(QFileDialog::getExistingDirectory(this, "", "", QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks));
if(!sourceRoot.exists())
return;