Build fix for latest changes in MUtilities library.

This commit is contained in:
LoRd_MuldeR 2019-07-14 19:48:06 +02:00
parent df9b5afb68
commit 5e571c8a78

View File

@ -217,13 +217,13 @@ QHash<QString, QString> AbstractSource::getExtraEnv(void) const
{ {
QHash<QString, QString> extraEnv; QHash<QString, QString> extraEnv;
const QString profilePath = MUtils::OS::known_folder(MUtils::OS::FOLDER_USER_PROFILE); const QString profilePath = MUtils::OS::known_folder(MUtils::OS::FOLDER_PROFILE_USER);
if (!profilePath.isEmpty()) if (!profilePath.isEmpty())
{ {
extraEnv.insert("USERPROFILE", QDir::toNativeSeparators(profilePath)); extraEnv.insert("USERPROFILE", QDir::toNativeSeparators(profilePath));
} }
const QString appDataPath = MUtils::OS::known_folder(MUtils::OS::FOLDER_ROAMING_DATA); const QString appDataPath = MUtils::OS::known_folder(MUtils::OS::FOLDER_APPDATA_ROAM);
if (!appDataPath.isEmpty()) if (!appDataPath.isEmpty())
{ {
extraEnv.insert("APPDATA", QDir::toNativeSeparators(appDataPath)); extraEnv.insert("APPDATA", QDir::toNativeSeparators(appDataPath));