1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-05 23:11:32 +00:00

Open the data directory file picker at the last opened location

This commit is contained in:
Evil Eye 2025-03-31 17:11:09 +02:00
parent 11c2fd9e3d
commit 86426aa87b

View file

@ -765,7 +765,7 @@ void Launcher::DataFilesPage::addSubdirectories(bool append)
return;
QString rootPath = QFileDialog::getExistingDirectory(
this, tr("Select Directory"), QDir::homePath(), QFileDialog::ShowDirsOnly | QFileDialog::Option::ReadOnly);
this, tr("Select Directory"), {}, QFileDialog::ShowDirsOnly | QFileDialog::Option::ReadOnly);
if (rootPath.isEmpty())
return;