Commit b2082142 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix compilation with KF < 5.95

parent 52ec67d9
Pipeline #202525 passed with stage
in 6 minutes and 38 seconds
......@@ -35,7 +35,7 @@ ThemeManager::ThemeManager(QObject *parent)
for (int i = 1; i < model()->rowCount(); ++i) {
QModelIndex index = model()->index(i, 0);
if (index.data(KColorSchemeModel::PathRole).toString().endsWith(schemePath)) {
scheme = index.data(KColorSchemeModel::NameRole).toString();
scheme = index.data(Qt::DisplayRole).toString();
}
}
}
......
Supports Markdown
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