mirror of
https://github.com/vcmi/vcmi.git
synced 2025-10-08 23:22:25 +02:00
VCMIDirs update #5
- Minor fixes - string based paths -> boost::filesystem::path paths (I hope it's final) - New user data path on windows - New moving dir method on windows.
This commit is contained in:
@@ -39,7 +39,7 @@ CModManager::CModManager(CModList * modList):
|
||||
|
||||
QString CModManager::settingsPath()
|
||||
{
|
||||
return QString::fromUtf8(VCMIDirs::get().userConfigPath().c_str()) + "/modSettings.json";
|
||||
return pathToQString(VCMIDirs::get().userConfigPath() / "modSettings.json");
|
||||
}
|
||||
|
||||
void CModManager::loadModSettings()
|
||||
|
Reference in New Issue
Block a user