Browse Source

workaround for missing menu on ubuntu

cl-refactor
arkpar 10 years ago
parent
commit
f76f8c17dc
  1. 7
      mix/main.cpp

7
mix/main.cpp

@ -21,12 +21,19 @@
*/
#include <iostream>
#include <stdlib.h>
#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);

Loading…
Cancel
Save