From 360a634f5b3b16fea4a6283856b7c877f8ade4e8 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 23 Dec 2015 15:03:08 +0100 Subject: [PATCH] Changed: Don't need to use XDG_CURRENT_DESKTOP under OS X --HG-- branch : develop --- code/nel/tools/misc/crash_report/crash_report.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/misc/crash_report/crash_report.cpp b/code/nel/tools/misc/crash_report/crash_report.cpp index d3caddd3a..c6012a06b 100644 --- a/code/nel/tools/misc/crash_report/crash_report.cpp +++ b/code/nel/tools/misc/crash_report/crash_report.cpp @@ -92,7 +92,7 @@ public: int main(int argc, char **argv) { -#ifndef WIN32 +#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC) // Workaround to default -style=gtk+ on recent Cinnamon versions char *currentDesktop = getenv("XDG_CURRENT_DESKTOP"); if (currentDesktop)