diff options
Diffstat (limited to 'Swiften/Application/MacOSX/MacOSXApplication.cpp')
-rw-r--r-- | Swiften/Application/MacOSX/MacOSXApplication.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Application/MacOSX/MacOSXApplication.cpp b/Swiften/Application/MacOSX/MacOSXApplication.cpp index 1df2bfa..79d7586 100644 --- a/Swiften/Application/MacOSX/MacOSXApplication.cpp +++ b/Swiften/Application/MacOSX/MacOSXApplication.cpp @@ -15,4 +15,8 @@ boost::filesystem::path MacOSXApplication::getSettingsDir() const { return result; } +boost::filesystem::path MacOSXApplication::getHomeDir() const { + return boost::filesystem::path(getenv("HOME")); +} + } |