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:
commit
3e0ec6d0bf
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue