Skip to content
Snippets Groups Projects
Commit 3e7087e5 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Sébastien Blin
Browse files

Revert "misc: fix GTK theme application on Wayland by prioritizing XCB"

This reverts commit 87aed4c0.

Reason for revert: Breaks Wayland support (without Xwayland)

Change-Id: I27a26cf784b3eea543b9cc396a130e80f295b81b
parent 4ebb881b
No related branches found
No related tags found
No related merge requests found
......@@ -54,14 +54,6 @@ main(int argc, char* argv[])
}
setenv("QML_DISABLE_DISK_CACHE", "1", true);
/*
* Not quite sure why the GTK theme is not applied on Wayland when
* using the wayland platform plugin, but we can force XCB to make
* sure it works when X11 is available, otherwise fallback to Wayland.
* Could be related to: https://bugreports.qt.io/browse/QTBUG-99684.
*/
setenv("QT_QPA_PLATFORM", "xcb:wayland", true);
/*
* Some GNU/Linux distros, like Zorin OS, set QT_STYLE_OVERRIDE
* to force a particular Qt style. This has been fine with Qt5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment