1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 12:46:35 +01:00

Port from deprecated QPalette::foreground() > QPalette::windowText()

Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
Juraj Oravec 2019-12-31 18:35:21 +01:00
parent de200c77c4
commit 03b2880f8b
No known key found for this signature in database
GPG Key ID: 63ACB65056BC8D07

View File

@ -207,7 +207,7 @@ void AdBlockTreeWidget::adjustItemFeatures(QTreeWidgetItem* item, const AdBlockR
item->setFlags(item->flags() | Qt::ItemIsUserCheckable); item->setFlags(item->flags() | Qt::ItemIsUserCheckable);
item->setCheckState(0, Qt::Checked); item->setCheckState(0, Qt::Checked);
item->setForeground(0, palette().foreground()); item->setForeground(0, palette().windowText());
item->setFont(0, font()); item->setFont(0, font());
if (rule->isException()) { if (rule->isException()) {