mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Add winePath setting load on startup.
Currently, winePath isn't loaded from the .ini file, resulting in an empty field and the custom path being cleared from the .ini file on startup.
This commit is contained in:
parent
5d0e8936ee
commit
fa6d74006f
1 changed files with 4 additions and 0 deletions
|
@ -332,6 +332,10 @@ void LauncherCore::readInitialInformation() {
|
||||||
profile.winePrefixPath = getDefaultWinePrefixPath();
|
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;
|
ProfileSettings defaultSettings;
|
||||||
|
|
||||||
// login
|
// login
|
||||||
|
|
Loading…
Add table
Reference in a new issue