Skip to content

Commit 0865ee0

Browse files
gui: get paths from steampp properly now that they're not quite string type
1 parent a140ad2 commit 0865ee0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/gui/Window.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,8 +1836,8 @@ void ScanSteamGamesWorker::run() {
18361836
}
18371837
sourceGames.emplace_back(
18381838
steam.getAppName(appID).data(),
1839-
QIcon{QPixmap::fromImage(ImageLoader::load(steam.getAppIconPath(appID).c_str()))},
1840-
steam.getAppInstallDir(appID).c_str());
1839+
QIcon{QPixmap::fromImage(ImageLoader::load(steam.getAppIconPath(appID).string().c_str()))},
1840+
steam.getAppInstallDir(appID).string().c_str());
18411841
}
18421842

18431843
// Add mods in the sourcemods directory

0 commit comments

Comments
 (0)