Changed: Don't need to use XDG_CURRENT_DESKTOP under OS X

This commit is contained in:
kervala 2015-12-23 15:03:08 +01:00
parent ee056ab47b
commit 007800db78

View file

@ -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)