prevent crashes on suspend/resume when the battery vanishes
by guarding the m_device pointer with QWeakPointer BUG: 288410 FIXED-IN: 4.9.4
Showing
- solid/solid/backends/upower/upoweracadapter.cpp 10 additions, 6 deletionssolid/solid/backends/upower/upoweracadapter.cpp
- solid/solid/backends/upower/upowerbattery.cpp 27 additions, 26 deletionssolid/solid/backends/upower/upowerbattery.cpp
- solid/solid/backends/upower/upowerdeviceinterface.h 2 additions, 1 deletionsolid/solid/backends/upower/upowerdeviceinterface.h
- solid/solid/backends/upower/upowergenericinterface.cpp 3 additions, 3 deletionssolid/solid/backends/upower/upowergenericinterface.cpp
Loading
Please register or sign in to comment