diff options
Diffstat (limited to 'Swiften/Application/MacOSX/MacOSXApplication.cpp')
-rw-r--r-- | Swiften/Application/MacOSX/MacOSXApplication.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Swiften/Application/MacOSX/MacOSXApplication.cpp b/Swiften/Application/MacOSX/MacOSXApplication.cpp index 8e9a948..8212d36 100644 --- a/Swiften/Application/MacOSX/MacOSXApplication.cpp +++ b/Swiften/Application/MacOSX/MacOSXApplication.cpp @@ -17,19 +17,4 @@ ApplicationMessageDisplay* MacOSXApplication::getApplicationMessageDisplay() { return &messageDisplay_; } -boost::filesystem::path MacOSXApplication::getSettingsDir() const { - try { - boost::filesystem::path result(getHomeDir() / "Library/Application Support" / getName().getUTF8String()); - } - catch (const boost::filesystem::filesystem_error& e) { - std::cerr << "ERROR: " << e.what() << std::endl; - } - boost::filesystem::create_directory(result); - return result; -} - -boost::filesystem::path MacOSXApplication::getHomeDir() const { - return boost::filesystem::path(getenv("HOME")); -} - } |