From f76f8c17dcbd3bea6deb061962816d878058aede Mon Sep 17 00:00:00 2001 From: arkpar Date: Wed, 21 Jan 2015 10:55:29 +0100 Subject: [PATCH] workaround for missing menu on ubuntu --- mix/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mix/main.cpp b/mix/main.cpp index 4f2c901b4..822262ae1 100644 --- a/mix/main.cpp +++ b/mix/main.cpp @@ -21,12 +21,19 @@ */ #include +#include #include "MixApplication.h" #include "Exceptions.h" using namespace dev::mix; int main(int _argc, char* _argv[]) { +#if __linux + //work around ubuntu appmenu-qt5 bug + //https://bugs.launchpad.net/ubuntu/+source/appmenu-qt5/+bug/1323853 + putenv("QT_QPA_PLATFORMTHEME="); +#endif + try { MixApplication app(_argc, _argv);