We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30c6363 commit 0429484Copy full SHA for 0429484
src/gui/tabicons.cpp
@@ -122,14 +122,6 @@ void setDefaultTabItemCounterStyle(QWidget *widget)
122
else
123
font.setPixelSize( static_cast<int>(font.pixelSize() * 0.7) );
124
widget->setFont(font);
125
-
126
- QPalette pal = widget->palette();
127
- const QPalette::ColorRole role = widget->foregroundRole();
128
- QColor color = pal.color(role);
129
- color.setAlpha( qMax(50, color.alpha() - 100) );
130
- color.setRed( qMin(255, color.red() + 120) );
131
- pal.setColor(role, color);
132
- widget->setPalette(pal);
133
}
134
135
void setComboBoxItems(QComboBox *comboBox, const QList<QString> &items)
0 commit comments