Commit b364e81a authored by Laurent Montel's avatar Laurent Montel 😁

const'ify

parent c9750bfa
......@@ -116,7 +116,7 @@ LoggingCategory::List KDEApplicationTreeListWidget::rules()
LoggingCategory::List lst;
for (int i = 0; i < topLevelItemCount(); ++i) {
KDEApplicationTreeListWidgetItem *listWidgetItem = static_cast<KDEApplicationTreeListWidgetItem *>(topLevelItem(i));
LoggingCategory cat = listWidgetItem->rule();
const LoggingCategory cat = listWidgetItem->rule();
if (cat.isValid()) {
lst.append(cat);
}
......
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