|
|
@ -164,15 +164,15 @@ void MainDialog::createPages()
|
|
|
|
dataDirs = readConfig(file.fileName());
|
|
|
|
dataDirs = readConfig(file.fileName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// User location
|
|
|
|
// Local location
|
|
|
|
file.setFileName(QString::fromStdString((mCfgMgr.getUserPath()/"openmw.cfg").string()));
|
|
|
|
file.setFileName("./openmw.cfg");
|
|
|
|
|
|
|
|
|
|
|
|
if (file.exists()) {
|
|
|
|
if (file.exists()) {
|
|
|
|
dataDirs = readConfig(file.fileName());
|
|
|
|
dataDirs = readConfig(file.fileName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Local location
|
|
|
|
// User location
|
|
|
|
file.setFileName("./openmw.cfg");
|
|
|
|
file.setFileName(QString::fromStdString((mCfgMgr.getUserPath()/"openmw.cfg").string()));
|
|
|
|
|
|
|
|
|
|
|
|
if (file.exists()) {
|
|
|
|
if (file.exists()) {
|
|
|
|
dataDirs = readConfig(file.fileName());
|
|
|
|
dataDirs = readConfig(file.fileName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|