From 2e41ab3cfde1174e99002d86873912f46c4e42b1 Mon Sep 17 00:00:00 2001 From: Dag Heyman Date: Thu, 16 Mar 2017 13:14:16 +0100 Subject: [PATCH] More env expiriments --- main.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 903680e4..d064fc99 100644 --- a/main.cpp +++ b/main.cpp @@ -14,8 +14,13 @@ int main(int argc, char *argv[]) // Global menubar is broken for qt5 apps in Ubuntu Unity, see: // https://bugs.launchpad.net/ubuntu/+source/appmenu-qt5/+bug/1323853 // This workaround enables a local menubar. - qputenv("HELLO_TEST","0"); - qputenv("UBUNTU_MENUPROXY","0"); + qputenv("HELLO_TEST_ONE","1"); + qputenv("HELLO_TEST_ZERO","0"); + + //qputenv("UBUNTU_MENUPROXY","0"); + + qunsetenv("UBUNTU_MENU_PROXY"); + qputenv("PYTHONDONTWRITEBYTECODE", "1"); #if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)