mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
fix deprecated
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user