Wireshark-commits: [Wireshark-commits] master-2.0 aee3a25: Override shortcuts in SyntaxLineEdit.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 23 Mar 2016 18:11:21 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=aee3a25492d7fe2374c65efc83fd423bb19d307f
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

aee3a25 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Override shortcuts in SyntaxLineEdit.
    
    Add an ::event member function to SyntaxLineEdit that looks for
    ShortcutOverride events and accepts them. This keeps them from being
    interpreted as shortcuts in the main window.
    
    Note that the current code accepts everything, and that we should probably
    restrict this to AltGr only.
    
    Bug: 12270
    Change-Id: I01765ce2447d220a102d97fcbbe47579341ce075
    Reviewed-on: https://code.wireshark.org/review/14570
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit e947d362f87534027e6daa75aae531901e077e31)
    Reviewed-on: https://code.wireshark.org/review/14593
    

Actions performed:

    from  923558f   Set missing manpages in configure.ac
    adds  aee3a25   Override shortcuts in SyntaxLineEdit.


Summary of changes:
 ui/qt/syntax_line_edit.cpp |   15 +++++++++++++++
 ui/qt/syntax_line_edit.h   |    1 +
 2 files changed, 16 insertions(+)