1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-30 16:20:21 +00:00

Merge pull request #1642

This commit is contained in:
scrawl 2018-04-02 17:45:54 +00:00
commit 0071878106
No known key found for this signature in database
GPG Key ID: 2E6CC3676024C402

View File

@ -62,10 +62,11 @@ Wizard::MainWizard::MainWizard(QWidget *parent) :
setupInstallations();
setupPages();
const boost::filesystem::path& installedPath = mCfgMgr.getInstallPath();
if (!installedPath.empty())
const boost::filesystem::path& installationPath = mCfgMgr.getInstallPath();
if (!installationPath.empty())
{
addInstallation(toQString(installedPath));
const boost::filesystem::path& dataPath = installationPath / "Data Files";
addInstallation(toQString(dataPath));
}
}