Wireshark-commits: [Wireshark-commits] master 26c933b: Fix binary data copying.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 31 Jul 2015 20:50:12 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=26c933b8cce07b4d3e00d4d1eaab81dc13ab49c0
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

26c933b by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Fix binary data copying.
    
    As the QClipboard::setMimeData documentation says, "Ownership of the
    data is transferred to the clipboard." Allocate the mime data object
    accordingly.
    
    Note the results of trying to paste into hex editors on Windows.
    Frhed works. Hex Editor Neo and HxD do not.
    
    Change-Id: I46691ba95bf1f5c38817cd42ded73e8e67e4ee97
    Reviewed-on: https://code.wireshark.org/review/9837
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  5336c9a   More spacing fixups.
    adds  26c933b   Fix binary data copying.


Summary of changes:
 ui/qt/byte_view_tab.cpp |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)