Add parameter variable names

This commit is contained in:
Jonas Kvinge
2024-09-24 20:40:35 +02:00
parent cf22b183a5
commit e52ea2a255
6 changed files with 15 additions and 11 deletions

View File

@@ -340,7 +340,9 @@ QColor ensureContrast(const QColor &bg, const QColor &fg, int amount) {
}
void BlockAnalyzer::paletteChange(const QPalette&) {
void BlockAnalyzer::paletteChange(const QPalette &_palette) {
Q_UNUSED(_palette)
const QColor bg = palette().color(QPalette::Window);
const QColor fg = ensureContrast(bg, palette().color(QPalette::Highlight));