Review Request 115517: Do not crash if there is no QMimeData in decodeIsCutSelection

Martin Gräßlin mgraesslin at kde.org
Mon Feb 10 06:59:25 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115517/
-----------------------------------------------------------

(Updated Feb. 10, 2014, 6:59 a.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and David Faure.


Repository: kio


Description
-------

Do not crash if there is no QMimeData in decodeIsCutSelection

On Wayland the QMimeData is null and thus the Open File dialog
crashed when trying to enter a directory.


Diffs
-----

  src/filewidgets/kfilepreviewgenerator.cpp cdc18a18508eceb58b9fbcad9b68b47bf534996c 

Diff: https://git.reviewboard.kde.org/r/115517/diff/


Testing
-------

Kate on Wayland can open files now: http://paste.opensuse.org/79557635


Thanks,

Martin Gräßlin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140210/9fc63ae6/attachment.html>


More information about the Kde-frameworks-devel mailing list