Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plasma Workspace
Manage
Activity
Members
Labels
Plan
Issues
55
Issue boards
Milestones
Wiki
Bugzilla
Code
Merge requests
146
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Plasma
Plasma Workspace
Commits
fa57f929
Commit
fa57f929
authored
4 months ago
by
Méven Car
Browse files
Options
Downloads
Patches
Plain Diff
kastatsfavoritesmodel: Fix a crash
Regression of
b5ce9cb4
(cherry picked from commit
e01b885a
)
parent
b085aa81
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4536
kastatsfavoritesmodel: Fix a crash
Pipeline
#736003
passed with stage
in 18 minutes and 47 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applets/kicker/plugin/kastatsfavoritesmodel.cpp
+5
-3
5 additions, 3 deletions
applets/kicker/plugin/kastatsfavoritesmodel.cpp
with
5 additions
and
3 deletions
applets/kicker/plugin/kastatsfavoritesmodel.cpp
+
5
−
3
View file @
fa57f929
...
...
@@ -193,9 +193,11 @@ public:
// https://crash-reports.kde.org/organizations/kde/issues/23450/
const
auto
itemEntries
=
m_itemEntries
;
for
(
auto
it
=
itemEntries
.
cbegin
();
it
!=
itemEntries
.
cend
();
it
=
std
::
next
(
it
))
{
it
.
value
()
->
reload
();
if
(
it
.
value
()
&&
!
it
.
value
()
->
isValid
())
{
keys
<<
it
.
key
();
if
(
it
.
value
())
{
it
.
value
()
->
reload
();
if
(
!
it
.
value
()
->
isValid
())
{
keys
<<
it
.
key
();
}
}
}
if
(
!
keys
.
isEmpty
())
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment