https://bugs.kde.org/show_bug.cgi?id=361973

--- Comment #11 from Ilya V. Portnov <port...@bk.ru> ---
Well, following is pretty simple patch against git master which resolves the
bug in my case:

diff --git a/krita/main.cc b/krita/main.cc
index 7f79ddf..d1752dc 100644
--- a/krita/main.cc
+++ b/krita/main.cc
@@ -112,7 +112,7 @@ extern "C" int main(int argc, char **argv)
     KisApplication app(key, argc, argv);

 #ifdef Q_OS_LINUX
-    qputenv("XDG_DATA_DIRS",
QFile::encodeName(KoResourcePaths::getApplicationRoot() + "share") + ":" +
qgetenv("XDG_DATA_DIRS"));
+    //qputenv("XDG_DATA_DIRS",
QFile::encodeName(KoResourcePaths::getApplicationRoot() + "share") + ":" +
qgetenv("XDG_DATA_DIRS"));
 #else
     qputenv("XDG_DATA_DIRS",
QFile::encodeName(KoResourcePaths::getApplicationRoot() + "share"));
 #endif

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to