Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
kdelibs4-apidocs
590a1901-plasma-extenderitem-crashfix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 590a1901-plasma-extenderitem-crashfix.diff of Package kdelibs4-apidocs
commit 590a190134c288621bcdd53bb168875e91b560ce Author: Marco Martin <notmart@gmail.com> Date: Tue Feb 1 21:15:49 2011 +0100 don't collapse when it's destroying try to not crash upon deletion of the extender diff --git a/plasma/extenders/extenderitem.cpp b/plasma/extenders/extenderitem.cpp index bdbc886..3e5809f 100644 --- a/plasma/extenders/extenderitem.cpp +++ b/plasma/extenders/extenderitem.cpp @@ -596,6 +596,10 @@ void ExtenderItem::destroy() void ExtenderItem::setCollapsed(bool collapsed) { + if (extender()->d->destroying) { + return; + } + config().writeEntry("isCollapsed", collapsed); d->collapsed = collapsed; d->collapseIcon->setToolTip(collapsed ? i18n("Expand this widget") : i18n("Collapse this widget"));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor