mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix Flatpak config issues
Remove #ifdef guards from Config.h/cpp (no harm to non-Flatpak distros) Cleanup #ifdef usage in NixUtils.cpp
This commit is contained in:
@@ -98,9 +98,7 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
|
||||
{Config::GUI_HidePreviewPanel, {QS("GUI/HidePreviewPanel"), Roaming, false}},
|
||||
{Config::GUI_AlwaysOnTop, {QS("GUI/GUI_AlwaysOnTop"), Local, false}},
|
||||
{Config::GUI_ToolButtonStyle, {QS("GUI/ToolButtonStyle"), Roaming, Qt::ToolButtonIconOnly}},
|
||||
#ifdef KEEPASSXC_DIST_FLATPAK
|
||||
{Config::GUI_LaunchAtStartup, {QS("GUI/LaunchAtStartup"), Roaming, false}},
|
||||
#endif
|
||||
{Config::GUI_ShowTrayIcon, {QS("GUI/ShowTrayIcon"), Roaming, false}},
|
||||
{Config::GUI_TrayIconAppearance, {QS("GUI/TrayIconAppearance"), Roaming, {}}},
|
||||
{Config::GUI_MinimizeToTray, {QS("GUI/MinimizeToTray"), Roaming, false}},
|
||||
|
||||
@@ -80,9 +80,7 @@ public:
|
||||
GUI_HidePreviewPanel,
|
||||
GUI_AlwaysOnTop,
|
||||
GUI_ToolButtonStyle,
|
||||
#ifdef KEEPASSXC_DIST_FLATPAK
|
||||
GUI_LaunchAtStartup,
|
||||
#endif
|
||||
GUI_ShowTrayIcon,
|
||||
GUI_TrayIconAppearance,
|
||||
GUI_MinimizeToTray,
|
||||
|
||||
Reference in New Issue
Block a user