Files
haikuports/net-im/qutim/patches/xdg.patchset
Sergei Reznikov 2544d64f77 qutIM: more fixes to the recipe and the patch
* disabble mobile plugins, those are not needed.
* correctly set QUTIM_SHARE_DIR on Haiku so that qutIM can find its icons. This also fixes crashes in some plugins.
* clean up patch.

TODO: some icons are still missing. Statistics gatherer window always shows on start-up.
2015-09-03 08:26:32 +03:00

23 lines
698 B
Plaintext

From d40ce74366293170c80e40d06b0d47d7504d6888 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Wed, 2 Sep 2015 22:09:11 +0300
Subject: xdgenvironment: define XdgEnvironment::dataDirs for Haiku
diff --git a/src/xdgenvironment.cpp b/src/xdgenvironment.cpp
index 6bf283d..0e082ff 100644
--- a/src/xdgenvironment.cpp
+++ b/src/xdgenvironment.cpp
@@ -104,7 +104,7 @@ QDir XdgEnvironment::configHome()
*/
QList<QDir> XdgEnvironment::dataDirs()
{
-#if defined(Q_WS_WIN) || defined (Q_WS_MAC)
+#if defined(Q_WS_WIN) || defined (Q_WS_MAC) || defined (Q_WS_HAIKU)
QList<QDir> list;
list.append(QDir(QCoreApplication::applicationDirPath()));
return list;
--
2.2.2