mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-24 01:08:06 -06:00
Don't expose palette colors in UI theme editor
PR #22923. Fixes regression introduced by #22330.
This commit is contained in:
committed by
Vladimir Golovnev (Glassez)
parent
13282d94ef
commit
206d5abf84
@@ -105,6 +105,8 @@ DefaultThemeSource::DefaultThemeSource()
|
||||
, m_colors {defaultUIThemeColors()}
|
||||
{
|
||||
loadColors();
|
||||
// Palette isn't customizable in default theme
|
||||
m_colors.insert(defaultPaletteColors());
|
||||
}
|
||||
|
||||
QByteArray DefaultThemeSource::readStyleSheet()
|
||||
|
||||
Reference in New Issue
Block a user