diff --git a/shell/recentitemsmodel.cpp b/shell/recentitemsmodel.cpp index 965792c0b..9649e12d8 100644 --- a/shell/recentitemsmodel.cpp +++ b/shell/recentitemsmodel.cpp @@ -49,7 +49,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();