From f28764e59c1fb9dffcc418b05b838a2a0b146bfb Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Tue, 8 Mar 2022 11:10:43 +0100 Subject: [PATCH] Attempt to fix the MSVC build --- shell/recentitemsmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();