Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Workspace
Commits
bcc2ad4b
Commit
bcc2ad4b
authored
Feb 01, 2011
by
Aaron J. Seigo
Browse files
try not to crash, a noble goal.
BUG:265089
parent
5a69188b
Changes
1
Show whitespace changes
Inline
Side-by-side
plasma/generic/applets/systemtray/core/task.cpp
View file @
bcc2ad4b
...
...
@@ -58,7 +58,11 @@ Task::~Task()
emit
destroyed
(
this
);
foreach
(
QGraphicsWidget
*
widget
,
d
->
widgetsByHost
)
{
disconnect
(
widget
,
0
,
this
,
0
);
delete
widget
;
// sometimes it appears that the widget will get scheduled for a repaint
// then it gets deleted here and QGraphicsScene doesn't get that straight
// in its bookkeeping and crashes occur; work around this by giving it a
// chance to schedule after the next paintfun
widget
->
deleteLater
();
}
delete
d
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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