blob: deb74d8349da7c89a3824d6111c42cf99b6d558c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/libtomahawk/utils/TomahawkUtils.cpp.orig 2014-11-20 00:17:56 UTC
+++ src/libtomahawk/utils/TomahawkUtils.cpp
@@ -19,6 +19,8 @@
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <unistd.h>
+
#include "utils/TomahawkUtils.h"
#include "config.h"
@@ -183,7 +185,7 @@ appDataDir()
}
#elif defined(Q_OS_MAC)
path = appSupportFolderPath();
- #elif defined(Q_OS_LINUX)
+ #elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
path = QDir::home().filePath( ".local/share" );
#else
path = QCoreApplication::applicationDirPath();
|