mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Changed: Don't need to use XDG_CURRENT_DESKTOP under OS X
--HG-- branch : develop
This commit is contained in:
parent
5d64a01f58
commit
360a634f5b
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ public:
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
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
|
// Workaround to default -style=gtk+ on recent Cinnamon versions
|
||||||
char *currentDesktop = getenv("XDG_CURRENT_DESKTOP");
|
char *currentDesktop = getenv("XDG_CURRENT_DESKTOP");
|
||||||
if (currentDesktop)
|
if (currentDesktop)
|
||||||
|
|
Loading…
Reference in a new issue