diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2024-10-12 13:37:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-12 13:37:58 +0200 |
| commit | b6de58f2d348e89f0d75f10b9c84312cd0d3a6e5 (patch) | |
| tree | 8c90b6479ed2f5a05021cc6a10f7abc15d266cb4 /src/settings.cpp | |
| parent | 75e24cd92652640241eb3e9a789950e5fa8fa99a (diff) | |
Highlight masters of selected plugins (#2140)
Diffstat (limited to 'src/settings.cpp')
| -rw-r--r-- | src/settings.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 8b95a1d0..d88311eb 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1286,6 +1286,16 @@ void ColorSettings::setPluginListContained(const QColor& c) set(m_Settings, "Settings", "containedColor", c); } +QColor ColorSettings::pluginListMaster() const +{ + return get<QColor>(m_Settings, "Settings", "masterColor", QColor(255, 255, 0, 64)); +} + +void ColorSettings::setPluginListMaster(const QColor& c) +{ + set(m_Settings, "Settings", "masterColor", c); +} + std::optional<QColor> ColorSettings::previousSeparatorColor() const { const auto c = getOptional<QColor>(m_Settings, "General", "previousSeparatorColor"); |
