changed game/addon to content for writing to openmw.cfg from launcher

pull/51/head
graffy76 11 years ago
parent 1d4b5a2425
commit dace904490

@ -104,10 +104,10 @@ void Launcher::DataFilesPage::saveSettings(const QString &profile)
if (item->gameFiles().size() == 0) {
mLauncherSettings.setMultiValue(QString("Profiles/") + profileName + QString("/game"), item->fileName());
mGameSettings.setMultiValue(QString("game"), item->fileName());
mGameSettings.setMultiValue(QString("content"), item->fileName());
} else {
mLauncherSettings.setMultiValue(QString("Profiles/") + profileName + QString("/addon"), item->fileName());
mGameSettings.setMultiValue(QString("addon"), item->fileName());
mGameSettings.setMultiValue(QString("content"), item->fileName());
}
}

@ -94,6 +94,7 @@ void CS::Editor::setupDataFiles()
for (Files::PathContainer::const_iterator iter = dataDirs.begin(); iter != dataDirs.end(); ++iter)
{
QString path = QString::fromStdString(iter->string());
mFileDialog.addFiles(path);
}

Loading…
Cancel
Save