Commit 9f1a3eca authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[ConfigCategoryDelegate] Fix highlighting active category

model.source may be a QUrl so it doesn't strictly equal sourceFile which is a string

I would appreciate if you could stop doing unreviewed bulk changes to codebases
you don't understand. This is like the third breaking change caused by this,
and who knows what else will eventually crop up.

CCMAIL: montel@kde.org
parent 00e86a05
......@@ -33,7 +33,7 @@ MouseArea {
Layout.fillWidth: true
hoverEnabled: true
property bool current: (model.kcm && pageStack.currentItem.kcm && model.kcm == pageStack.currentItem.kcm) || (model.source === pageStack.sourceFile)
property bool current: (model.kcm && pageStack.currentItem.kcm && model.kcm == pageStack.currentItem.kcm) || (model.source == pageStack.sourceFile)
//END properties
//BEGIN functions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment