mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 13:07:38 +03:00
Snap: fix theming (#3057)
Use gtk3 file chooser dialogs, mouse coursor theme if available and force fallback icon theme, fixes issue #2966
This commit is contained in:
parent
d3a53a702e
commit
a2caa31eca
4 changed files with 56 additions and 5 deletions
|
@ -85,6 +85,12 @@ namespace Bootstrap
|
|||
bootstrap();
|
||||
MessageBox::initializeButtonDefs();
|
||||
|
||||
#ifdef KEEPASSXC_DIST_SNAP
|
||||
// snap: force fallback theme to avoid using system theme (gtk integration)
|
||||
// with missing actions just like on Windows and macOS
|
||||
QIcon::setThemeSearchPaths(QStringList() << ":/icons");
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
// Don't show menu icons on OSX
|
||||
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue