From 6a83ca40880ad5f15c5b3a23dcd8fd559cb2c719 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 --- 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)