┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/servicemodel.cpp
diff options
context:
space:
mode:
authorDavid Hallas <[email protected]>2019-04-22 19:40:16 +0200
committerDavid Hallas <[email protected]>2019-05-13 16:58:21 +0200
commit78540e49213ed1a03687d55063816659c9142eba (patch)
treea6866dc21d8def8ba9d809223f671afef7d56032 /src/settings/servicemodel.cpp
parent2fac50f5f59bbbc58a59e7ab5f1ec4e371a604c6 (diff)
Summary: Fixes crash when hiding devices
Summary: Fixes crash when hiding devices. The crash is caused by KStandardItem::setDataValue which calls the KStandardItemModel::onItemChanged function, and that function will delete the KStandardItem if the data value being set is the hidden attribute being set to true. To fix this KStandardItem now derives QObject so that we can use deleteLater. Test Plan: Right click a device in the places panel and select hide Right click the places panel and select show hidden Right click the hidden device and select show Right click the same device and select hide BUG: 403064 Reviewers: #dolphin, elvisangelaccio Reviewed By: #dolphin, elvisangelaccio Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D21050
Diffstat (limited to 'src/settings/servicemodel.cpp')
0 files changed, 0 insertions, 0 deletions