Commit 971baf2e authored by Ray Strode's avatar Ray Strode

main: tell Qt applications to look like GNOME

If the user is logging into GNOME then QT applications run in the
session should integrate as good as possible.

According to KDE folks, the best way to achieve that is to set

QT_QPA_PLATFORMTHEME="qgnomeplatform"

This commit does that.

https://bugzilla.gnome.org/show_bug.cgi?id=762681
parent dc760554
......@@ -411,6 +411,10 @@ main (int argc, char **argv)
*/
gsm_util_setenv ("XDG_MENU_PREFIX", "gnome-");
/* Tell QT to try to make QT applications look like gnome
*/
gsm_util_setenv ("QT_QPA_PLATFORMTHEME", "qgnomeplatform");
/* hack to fix keyring until we can reorder things in 3.20
* https://bugzilla.gnome.org/show_bug.cgi?id=738205
*/
......
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