Commit aec2a025 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make compile against qt6 (in qt6 it returns qsizeint)

parent 2faf5a52
......@@ -515,7 +515,7 @@ void AppearanceConfigWidget::save()
}
}
#endif
for (int i = 0, end = std::min(groups.size(), d->categoriesLV->count()); i != end; ++i) {
for (int i = 0, end = std::min<int>(groups.size(), d->categoriesLV->count()); i != end; ++i) {
const QListWidgetItem *const item = d->categoriesLV->item(i);
Q_ASSERT(item);
KConfigGroup group(config, groups[i]);
......
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