D10989: Check for nullptr in indexForNode
Jaime Torres Amate
noreply at phabricator.kde.org
Sat Mar 3 11:29:39 UTC 2018
jtamate created this revision.
jtamate added reviewers: Frameworks, dfaure.
Restricted Application added a project: Frameworks.
jtamate requested review of this revision.
REVISION SUMMARY
CCBUG: 390288
Checking for nullptr will avoid the crash and return an empty
QModelIndex.
TEST PLAN
Ask @Valdo if the bug can be reproduced.
REPOSITORY
R241 KIO
BRANCH
kate (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D10989
AFFECTED FILES
src/widgets/kdirmodel.cpp
To: jtamate, #frameworks, dfaure
Cc: michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180303/12dd6c52/attachment.html>
More information about the Kde-frameworks-devel
mailing list