If LastFolder isn't set, pick enginePath, not userGamePath

pull/1/head
Marco Cawthorne 3 years ago
parent b2af29f067
commit 53992b8ed2

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

@ -436,13 +436,12 @@ void DoAbout()
}
{
char const *label_text = "WorldSpawn\n"
__DATE__ "\n\n"
"QER taken to the space age.\n\n"
"Developed by Vera Visions LLC.\n"
"Programming by Marco Hladik\n"
"Licensed by id software\n\n"
"Copyright (C) 2015-2021";
char const *label_text = "WorldSpawn 1.0\n"
"Build " __DATE__ "\n\n"
"Copyright (c) Vera Visions, LLC.\n\n"
"This product contains software\n"
"technology from id Software, Inc.\n\n"
"id Technology (c) 2000 id Software, Inc.";
auto label = ui::Label(label_text);

@ -1953,7 +1953,7 @@ const char *getLastFolderPath()
if (g_strLastFolder.empty()) {
GlobalPreferenceSystem().registerPreference("LastFolder", make_property_string(g_strLastFolder));
if (g_strLastFolder.empty()) {
g_strLastFolder = g_qeglobals.m_userGamePath;
g_strLastFolder = EnginePath_get();
}
}
return g_strLastFolder.c_str();

@ -0,0 +1,8 @@
[Desktop Entry]
Name=WorldSpawn
Comment=idTech BSP Level Editor
Exec=worldspawn %f
Icon=worldspawn
Terminal=true
Type=Application
Categories=Development;
Loading…
Cancel
Save