Skip to content
Commit 9bed4a04 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

project: Fix possible crash when trying to delete file

Fixes the following:

#0  0x1 in QStandardItem::parent() const () from /usr/lib/libQt5Gui.so.5
#1  0x2 in KateProjectViewTree::removeFile (...) at kateprojectviewtree.cpp:196
#2  0x3 in operator() (...) at project/kateprojecttreeviewcontextmenu.cpp:176
#3  KateProjectTreeViewContextMenu::exec (...) at kateprojecttreeviewcontextmenu.cpp:202
#4  0x4 in KateProjectViewTree::contextMenuEvent (...) at kateprojectviewtree.cpp:271
#5  0x5 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#6  0x6 in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5

(cherry picked from commit 90b32f0e)
parent 52e43a3a
Pipeline #276871 passed with stage
in 23 minutes and 31 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment