mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Port from deprecated QPalette::foreground() > QPalette::windowText()
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
parent
de200c77c4
commit
03b2880f8b
@ -207,7 +207,7 @@ void AdBlockTreeWidget::adjustItemFeatures(QTreeWidgetItem* item, const AdBlockR
|
||||
|
||||
item->setFlags(item->flags() | Qt::ItemIsUserCheckable);
|
||||
item->setCheckState(0, Qt::Checked);
|
||||
item->setForeground(0, palette().foreground());
|
||||
item->setForeground(0, palette().windowText());
|
||||
item->setFont(0, font());
|
||||
|
||||
if (rule->isException()) {
|
||||
|
Loading…
Reference in New Issue
Block a user