app: workaround broken Qt Wayland widgets in gnome-shell
commit91611e50e8679b8859637519af4873a16baadcd8
authorDavid Aguilar <davvid@gmail.com>
Sat, 1 Dec 2018 02:37:12 +0000 (30 18:37 -0800)
committerDavid Aguilar <davvid@gmail.com>
Sat, 1 Dec 2018 02:42:22 +0000 (30 18:42 -0800)
tree6e2863cc826110cb1e270237e687362365272db0
parent890aa0081165c5a8ffd29d50301e28c77590ef01
app: workaround broken Qt Wayland widgets in gnome-shell

Qt emits a warning when XDG_SESSION_TYPE=wayland and
XDG_CURRENT_DESKTOP=GNOME because it is currently an unsupported
configuration.

Unset XDG_SESSION_TYPE=wayland when in gnome-shell to silence
the warning.  We will need to revert this commit in the future
when [QTBUG-68619](https://bugreports.qt.io/browse/QTBUG-68619)
makes Qt Wayland widgets usable in gnome-shell.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/app.py