From b6de58f2d348e89f0d75f10b9c84312cd0d3a6e5 Mon Sep 17 00:00:00 2001 From: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> Date: Sat, 12 Oct 2024 13:37:58 +0200 Subject: Highlight masters of selected plugins (#2140) --- src/settings.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/settings.cpp') 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(m_Settings, "Settings", "masterColor", QColor(255, 255, 0, 64)); +} + +void ColorSettings::setPluginListMaster(const QColor& c) +{ + set(m_Settings, "Settings", "masterColor", c); +} + std::optional ColorSettings::previousSeparatorColor() const { const auto c = getOptional(m_Settings, "General", "previousSeparatorColor"); -- cgit v1.3.1