Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
8271a040
Commit
8271a040
authored
Sep 19, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/recentitemsmodel.cpp
View file @
8271a040
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment