1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 20:29:57 +00:00

Change default installation directory from 'data' to 'basedata' (Bug #3557)

This commit is contained in:
scrawl 2018-01-14 00:24:30 +00:00
parent 259919d125
commit 80f7279a4d
No known key found for this signature in database
GPG key ID: 2E6CC3676024C402

View file

@ -20,7 +20,7 @@ Wizard::InstallationTargetPage::InstallationTargetPage(QWidget *parent, const Fi
void Wizard::InstallationTargetPage::initializePage() void Wizard::InstallationTargetPage::initializePage()
{ {
QString path(QFile::decodeName(mCfgMgr.getUserDataPath().string().c_str())); QString path(QFile::decodeName(mCfgMgr.getUserDataPath().string().c_str()));
path.append(QDir::separator() + QLatin1String("data")); path.append(QDir::separator() + QLatin1String("basedata"));
QDir dir(path); QDir dir(path);
targetLineEdit->setText(QDir::toNativeSeparators(dir.absolutePath())); targetLineEdit->setText(QDir::toNativeSeparators(dir.absolutePath()));