From d1f745045d180a8ddfe10388578f695c1df86935 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 31 Jul 2023 19:35:53 -0400 Subject: [PATCH] Read wine info for profile again --- launcher/src/profile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/launcher/src/profile.cpp b/launcher/src/profile.cpp index b251e21..86960b9 100644 --- a/launcher/src/profile.cpp +++ b/launcher/src/profile.cpp @@ -15,6 +15,7 @@ Profile::Profile(LauncherCore &launcher, const QString &key, QObject *parent) , m_launcher(launcher) { readGameVersion(); + readWineInfo(); const QString dataDir = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); @@ -93,7 +94,6 @@ void Profile::readWineInfo() setWinePath("wine"); break; case WineType::Custom: // custom pth - break; default: break; } @@ -209,6 +209,7 @@ void Profile::setWineType(const WineType type) m_config.setWineType(static_cast(type)); m_config.save(); Q_EMIT wineTypeChanged(); + readWineInfo(); } }