Wireshark-commits: [Wireshark-commits] master e947d36: Override shortcuts in SyntaxLineEdit.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 23 Mar 2016 18:07:45 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e947d362f87534027e6daa75aae531901e077e31
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e947d36 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>
    

Actions performed:

    from  aedc4af   Use absolute path for test suite TEST_OUTDIR
    adds  e947d36   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(+)