1
0
Fork 0

Kill off platformDesktopPath entirely

This commit is contained in:
James Turner 2013-06-20 00:20:12 +01:00
parent b7bf3ee620
commit 145148944f
2 changed files with 1 additions and 5 deletions

View file

@ -52,7 +52,6 @@
#include <Cockpit/panel.hxx>
#include <Main/globals.hxx>
#include <Main/fg_props.hxx>
#include <Main/fg_init.hxx> // for platformDesktopPath
#include <Main/fg_os.hxx>
#include <Viewer/renderer.hxx>
#include <Viewer/viewmgr.hxx>
@ -481,7 +480,7 @@ namespace
string dir = fgGetString("/sim/paths/screenshot-dir");
if (dir.empty())
dir = platformDesktopPath().str();
dir = SGPath::desktop().str();
_path.set(dir + '/');
if (_path.create_dir( 0755 )) {

View file

@ -46,9 +46,6 @@ void fgOutputSettings();
// Initialize the localization
SGPropertyNode *fgInitLocale(const char *language);
/// retrieve the user's desktop directory path
SGPath platformDesktopPath();
// Init navaids and waypoints
bool fgInitNav ();