aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_bethesda/src')
-rw-r--r--libs/game_bethesda/src/*.cpp0
-rw-r--r--libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp4
-rw-r--r--libs/game_bethesda/src/gamebryo/gamegamebryo.cpp6
3 files changed, 4 insertions, 6 deletions
diff --git a/libs/game_bethesda/src/*.cpp b/libs/game_bethesda/src/*.cpp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/libs/game_bethesda/src/*.cpp
diff --git a/libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp b/libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp
index e4df0ea..4c1199c 100644
--- a/libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp
+++ b/libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp
@@ -56,7 +56,9 @@ QString GamebryoLocalSavegames::localSavesDummy() const
QDir GamebryoLocalSavegames::localSavesDirectory() const
{
- return QDir(m_Game->myGamesPath()).absoluteFilePath(localSavesDummy());
+ QString dummy = localSavesDummy();
+ dummy.replace("\\", "/");
+ return QDir(m_Game->myGamesPath()).absoluteFilePath(dummy);
}
QDir GamebryoLocalSavegames::localGameDirectory() const
diff --git a/libs/game_bethesda/src/gamebryo/gamegamebryo.cpp b/libs/game_bethesda/src/gamebryo/gamegamebryo.cpp
index b53d823..4a92440 100644
--- a/libs/game_bethesda/src/gamebryo/gamegamebryo.cpp
+++ b/libs/game_bethesda/src/gamebryo/gamegamebryo.cpp
@@ -494,11 +494,7 @@ QString GameGamebryo::myGamesPath() const
return findInRegistry(HKEY_LOCAL_MACHINE, L"Software\\LOOT", L"Installed Path") +
"/Loot.exe";
#else
- // On Linux, look for loot in common locations
- QString flatpakPath = QDir::homePath() + "/.var/app/io.github.loot.loot/data/LOOT/Loot";
- if (QFileInfo(flatpakPath).exists())
- return flatpakPath;
- // Try system PATH
+ // On Linux, look for loot in PATH
QString systemLoot = QStandardPaths::findExecutable("loot");
if (!systemLoot.isEmpty())
return systemLoot;