Wireshark-commits: [Wireshark-commits] master c280a40: Qt: Escape ampersands in checkboxes and radi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 24 Feb 2015 18:35:21 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c280a40443100293585f3ee5656fc620e2ce8483
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

c280a40 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Qt: Escape ampersands in checkboxes and radio buttons.
    
    Convert "&" to "&&" in checkbox and radio button preference labels so
    that they aren't interpreted as shortucts. Fixes
    
    QKeySequence::mnemonic: "Attempt to dissect LCID 1&2 as srb1&2" contains multiple occurrences of '&'
    
    Change-Id: Iacab6f81db01e6eca2cfdbaeda666f2e9c1016ed
    Reviewed-on: https://code.wireshark.org/review/7346
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  c0c6278   openSAFETY: Remove Macro and clear dissection
    adds  c280a40   Qt: Escape ampersands in checkboxes and radio buttons.


Summary of changes:
 ui/qt/module_preferences_scroll_area.cpp |   16 ++++++++++++----
 ui/qt/module_preferences_scroll_area.h   |    2 +-
 2 files changed, 13 insertions(+), 5 deletions(-)