Jump to content
Enpass Discussion Forum

[Bugfix] Enpass should ignore QT_STYLE_OVERRIDE


Tamaskan

Recommended Posts

Hello,

since Qt 5.7, QGtkStyle is removed, so Qt applications don't look native anymore on the GNOME desktop. To fix this, I installed adwaita-qt5, which is a port of the default Gtk theme to Qt. I globally set QT_STYLE_OVERRIDE=adwaita so all my Qt applications use the new theme.

Actually, Enpass isn't affected by this at all, as is uses bundled Qt 5.6 and uses QGtkStyle on GNOME per default. But settings QT_STYLE_OVERRIDE=adwaita causes Enpass to try to load the Adwaita theme, which fails, and then it falls back to an Windows 95-like theme which is really ugly. The solution is to modify runenpass.sh, just add

export QT_STYLE_OVERRIDE=""

somewhere before the exec statement. Enpass uses QGtkStyle again.

I would be pleased if this change would merged upstream :-)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...