message: Fix 'Could not find QtWebEngineProcess' bug with qt 5.10.1 (linux)
diff: @@ -40,6 +40,9 @@ class TogglApplication : public SingleApplication {
  int main(int argc, char *argv[]) try {
  Bugsnag::apiKey = "2a46aa1157256f759053289f2d687c2f";
  + // prepare command line arguments
  + static std::vector<char*> arguments(argv, argv + argc);
  +
  TogglApplication::setQuitOnLastWindowClosed(false);
  qRegisterMetaType<uint64_t>("uint64_t");
  @@ -52,6 +55,18 @@ int main(int argc, char *argv[]) try {
  QApplication::setApplicationName("Toggl Desktop");
  QApplication::setOrganizationName("Toggl");
  + #ifdef Q_OS_LINUX
  + // workaround for Qt 5.10.1 bug "Could not find QtWebEngineProcess"
  + // https://bugreports.qt.io/browse/QTBUG-67023
  + // https://bugreports.qt.io/browse/QTBUG-66346
  + static char noSandbox[] = "--no-sandbox";
  + arguments.push_back(noSandbox);
  + #endif
  +
  + // re-assign command line arguments
  + argc = (int) arguments.size();
  + argv = &arguments[0];
  +
  TogglApplication a(argc, argv);
  if (a.isRunning()) {
  qDebug() << "An instance of the app is already running";
  