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

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent 5d64a01f58
commit 360a634f5b

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

Loading…
Cancel
Save