Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authormantlabs <mantlabs@gmail.com>2021-03-06 21:29:08 +0300
committerJonathan White <support@dmapps.us>2021-03-07 19:27:28 +0300
commitd6b69204a63f992bf037a8aaad15efbd83c7e33e (patch)
tree36ff17eb2bafce3fa2780fcd67061705faab59f2 /src/core
parentbc08913c6127aa68f112fde15d67642448b43c21 (diff)
Persist Always on Top setting
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Config.cpp1
-rw-r--r--src/core/Config.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Config.cpp b/src/core/Config.cpp
index 3b3adbfb7..c66594012 100644
--- a/src/core/Config.cpp
+++ b/src/core/Config.cpp
@@ -94,6 +94,7 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
{Config::GUI_MovableToolbar, {QS("GUI/MovableToolbar"), Roaming, false}},
{Config::GUI_HideGroupsPanel, {QS("GUI/HideGroupsPanel"), Roaming, false}},
{Config::GUI_HidePreviewPanel, {QS("GUI/HidePreviewPanel"), Roaming, false}},
+ {Config::GUI_AlwaysOnTop, {QS("GUI/GUI_AlwaysOnTop"), Roaming, false}},
{Config::GUI_ToolButtonStyle, {QS("GUI/ToolButtonStyle"), Roaming, Qt::ToolButtonIconOnly}},
{Config::GUI_ShowTrayIcon, {QS("GUI/ShowTrayIcon"), Roaming, false}},
{Config::GUI_TrayIconAppearance, {QS("GUI/TrayIconAppearance"), Roaming, {}}},
diff --git a/src/core/Config.h b/src/core/Config.h
index fc8af88e0..6d69ee2a3 100644
--- a/src/core/Config.h
+++ b/src/core/Config.h
@@ -76,6 +76,7 @@ public:
GUI_MovableToolbar,
GUI_HideGroupsPanel,
GUI_HidePreviewPanel,
+ GUI_AlwaysOnTop,
GUI_ToolButtonStyle,
GUI_ShowTrayIcon,
GUI_TrayIconAppearance,