[Folder View] Use a copy of QMimeData in signal handler

Authored by broulik on Jun 4 2017, 2:43 PM.

Description

[Folder View] Use a copy of QMimeData in signal handler

By the time we leave the method, the QMimeData is deleted by the DragArea's drop event being destroyed leading to a crash.

CHANGELOG: Fixed crash when dropping files on desktop with KDeclarative from KDE Frameworks 5.35

BUG: 380806
FIXED-IN: 5.10.1

Differential Revision: https://phabricator.kde.org/D6088

Details

Committed
broulikJun 4 2017, 2:43 PM
Differential Revision
D6088: [Folder View] Use a copy of QMimeData in signal handler
Parents
R119:601ad4077780: Add missing semicolon.
Branches
Unknown
Tags
Unknown