diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-08-19 20:15:37 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-08-19 20:15:55 (GMT) |
commit | c1a2f7eb8f32e944aaccc7b9f03e2551459fe0d6 (patch) | |
tree | 24ee7eb51df478ec671c0f8da534ba05db38e098 /Swiften/Application/UnixApplicationPathProvider.h | |
parent | 74be9738c8dbb3bc037d0bcba0d7fc1539343630 (diff) | |
download | swift-c1a2f7eb8f32e944aaccc7b9f03e2551459fe0d6.zip swift-c1a2f7eb8f32e944aaccc7b9f03e2551459fe0d6.tar.bz2 |
Compilation fix for Unices
Diffstat (limited to 'Swiften/Application/UnixApplicationPathProvider.h')
-rw-r--r-- | Swiften/Application/UnixApplicationPathProvider.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Swiften/Application/UnixApplicationPathProvider.h b/Swiften/Application/UnixApplicationPathProvider.h index c361267..3773fef 100644 --- a/Swiften/Application/UnixApplicationPathProvider.h +++ b/Swiften/Application/UnixApplicationPathProvider.h @@ -24,7 +24,7 @@ namespace Swift { } boost::filesystem::path getSettingsDir() const { - boost::filesystem::path result(getHomeDir() / ("." + getName().getLowerCase().getUTF8String())); + boost::filesystem::path result(getHomeDir() / ("." + getApplicationName().getLowerCase().getUTF8String())); try { boost::filesystem::create_directory(result); } @@ -49,4 +49,3 @@ namespace Swift { }; } -#endif |