Rename g_Config.externalDirectory to defaultCurrentDirectory - since that's what it was.

Also make currentDirectory a Path, and add support for Path config
parameters.

Buildfixes

More Qt buildfixes

Oops, didn't mean to change zstd ver
This commit is contained in:
Henrik Rydgård committed 2021-05-30 00:49:47 +02:00
1 parent ecc2f62688
commit 0328816870
9 files changed
+95 -65

No files matched your search

+2 -2
View File
@@ -505,7 +505,7 @@ void GameBrowser::FocusGame(const Path &gamePath) {
void GameBrowser::SetPath(const Path &path) {
path_.SetPath(path);
g_Config.currentDirectory = path_.GetPath().ToString();
g_Config.currentDirectory = path_.GetPath();
Refresh();
}
@@ -905,7 +905,7 @@ UI::EventReturn GameBrowser::NavigateClick(UI::EventParams &e) {
} else {
path_.Navigate(text.ToString());
}
g_Config.currentDirectory = path_.GetPath().ToString();
g_Config.currentDirectory = path_.GetPath();
Refresh();
return UI::EVENT_DONE;
}