Commit 8271a040 authored by Eric Armbruster's avatar Eric Armbruster 🍁
Browse files

Do not use designated initializers from C++20

This fixes the msvc toolchain and gets rid of a warning.
parent 88704575
Pipeline #234371 passed with stage
in 6 minutes and 55 seconds
......@@ -51,7 +51,7 @@ void RecentItemsModel::loadEntries(const KConfigGroup &cg)
nameKey = QStringLiteral("Name%1").arg(i);
nameValue = cg.readPathEntry(nameKey, url.fileName());
m_recentItems.append(RecentItem{.name = nameValue, .url = url});
m_recentItems.append(RecentItem{nameValue, url});
Q_EMIT layoutChanged();
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