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;