Do not crash if QApplication::clipboard()->mimeData() is a null pointer
This removes the remaining unchecked accesses to the clipboard mime data after commit 7828b057. According to a bug report, it can be a null pointer on Wayland. BUG: 335053 REVIEW: 118649
Showing
- dolphin/src/dolphincontextmenu.cpp 2 additions, 3 deletionsdolphin/src/dolphincontextmenu.cpp
- dolphin/src/kitemviews/private/kfileitemclipboard.cpp 8 additions, 0 deletionsdolphin/src/kitemviews/private/kfileitemclipboard.cpp
- dolphin/src/panels/folders/treeviewcontextmenu.cpp 4 additions, 15 deletionsdolphin/src/panels/folders/treeviewcontextmenu.cpp
Please register or sign in to comment