Wireshark-commits: [Wireshark-commits] master 97d194c: Qt: Set the LabelStack CSS only when it chan
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 21 Jul 2016 19:47:42 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=97d194cd3cb7fa3806a7bb83f83f06ee2eda418b
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

97d194c by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Qt: Set the LabelStack CSS only when it changes.
    
    We call fillLabel repeatedly while loading a capture. Try to avoid
    applying a style sheet when we do since it can affect performance.
    
    Change-Id: I9ee188cb79f7cad340ba35b12011b82004ed8262
    Reviewed-on: https://code.wireshark.org/review/16571
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  ad6fc87   Add proto_tree_add_checksum.
    adds  97d194c   Qt: Set the LabelStack CSS only when it changes.


Summary of changes:
 ui/qt/label_stack.cpp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)