Commit bf464875 authored by Donald Carr's avatar Donald Carr Committed by Orgad Shaneh

Restrict Unity workaround to Unity session

Allow explicit native menubar disabling as there are platforms with
known broken implementations.

Change-Id: Ice5fb1270969b422eb1a964fab5e305bc658c667
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
Reviewed-by: default avatarAndré Hartmann <>
Reviewed-by: Eike Ziller's avatarEike Ziller <>
parent e098134d
......@@ -298,8 +298,10 @@ void loadFonts()
int main(int argc, char **argv)
if (Utils::HostOsInfo::isLinuxHost())
|| qgetenv("XDG_CURRENT_DESKTOP").startsWith("Unity")) {
Utils::TemporaryDirectory::setMasterTemporaryDirectory(QDir::tempPath() + "/" + Core::Constants::IDE_CASED_ID + "-XXXXXX");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment