1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-23 12:57:45 +00:00

Merge pull request #21 from mariakeating/fix_winepath

Add winePath setting load on startup.
This commit is contained in:
Joshua Goins 2022-03-28 10:15:52 -04:00 committed by GitHub
commit 3e0ec6d0bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -332,6 +332,10 @@ void LauncherCore::readInitialInformation() {
profile.winePrefixPath = getDefaultWinePrefixPath();
}
if(settings.contains("winePath") && settings.value("winePath").canConvert<QString>() && !settings.value("winePath").toString().isEmpty()) {
profile.winePath = settings.value("winePath").toString();
}
ProfileSettings defaultSettings;
// login