URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9a02bd0c39ae0cf02c7cee9c00b4991f0f92adb2
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
9a02bd0 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Make it possible to disable PercentBarDelegate.
Add a check to PercentBarDelegate to see if the caller set text for this
item or did not set a valid double value. If either case is true, just
draw the item normally and return.
Change-Id: I028ee15d54f06f2cb16c6e5f1ef73c47b2886ccd
Reviewed-on: https://code.wireshark.org/review/10600
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from 460ae03 IPv4: fix 'Decode As' when used with IPv4-in-IPv4 packets
adds 9a02bd0 Make it possible to disable PercentBarDelegate.
Summary of changes:
ui/qt/percent_bar_delegate.cpp | 9 ++++++++-
ui/qt/percent_bar_delegate.h | 21 +++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletion(-)