diff options
| author | Ray Strode <rstrode@redhat.com> | 2016-02-25 15:02:16 (GMT) |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2016-02-25 15:03:55 (GMT) |
| commit | 971baf2e225abc5a67bd0c149f4cbfdb0ef8c549 (patch) | |
| tree | bae144c26955ab96918bcb21b1e9181889d98c5a | |
| parent | dc76055447bdff788060e0f59e5e19781c57a1ac (diff) | |
| download | gnome-session-971baf2e.zip gnome-session-971baf2e.tar.xz | |
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
| -rw-r--r-- | gnome-session/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnome-session/main.c b/gnome-session/main.c index 7ec4dc4..3fd2385 100644 --- a/gnome-session/main.c +++ b/gnome-session/main.c @@ -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 */ |