Wireshark-commits: [Wireshark-commits] master-2.2 c043109: Qt: Avoid flicker in filter expressions

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 23 Feb 2017 06:58:16 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c04310932201ae3c8d6d95b19446c2c5b7f99534
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

c043109 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Avoid flicker in filter expressions toolbar
    
    Calling adjustSize() on the display filter toolbar causes flicker
    in the filter expression toolbar when switching between profiles
    without buttons and in some cases changing to a profile without buttons.
    
    Only calling adjustSize() if adding buttons should be fine to avoid
    this issues, even if they may be caused by something else.
    
    Change-Id: I8cca84a51dbbc8244dc4342ac0466e35884c294d
    Reviewed-on: https://code.wireshark.org/review/20222
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit a4d7793b4cfc2e6d578bf4723fd334f24cf453ec)
    Reviewed-on: https://code.wireshark.org/review/20249
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  e55d4b0   GPRS-NS: display nsip.cause and nsip.pdu_type as BASE_HEX
    adds  c043109   Qt: Avoid flicker in filter expressions toolbar


Summary of changes:
 ui/qt/main_window_slots.cpp |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)