1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

fix showing logs path in Launcher

This commit is contained in:
Andrey Filipenkov 2022-10-09 17:37:59 +03:00
parent 360f079bb7
commit b29229a577

View File

@ -97,7 +97,7 @@ void CSettingsView::loadSettings()
ui->lineEditUserDataDir->setText(pathToQString(VCMIDirs::get().userDataPath()));
ui->lineEditGameDir->setText(pathToQString(VCMIDirs::get().binaryPath()));
ui->lineEditTempDir->setText(pathToQString(VCMIDirs::get().userCachePath()));
ui->lineEditTempDir->setText(pathToQString(VCMIDirs::get().userLogsPath()));
std::string encoding = settings["general"]["encoding"].String();
size_t encodingIndex = boost::range::find(knownEncodingsList, encoding) - knownEncodingsList;