Submitter: Michael Mann (mman...@netscape.net)
Changed: branch: master
8d927a9 by Gerald Combs (ger...@wireshark.org):
Qt: Fix QStyledItemDelegate assertions.
QStyledItemDelegate::paint asserts if you pass it an empty QModelIndex.
We were doing this in PercentBarDelegate and TimelineDelegate in order to
keep it from drawing any text. Return an empty string from ::displayText
instead, which appears to be the correct way to paint without text.
Reviewed-by: Gerald Combs <ger...@wireshark.org>
Petri-Dish: Gerald Combs <ger...@wireshark.org>
Reviewed-by: Michael Mann <mman...@netscape.net>
from 672a5bd The Kerberos dissector include Kerberos header, and needs
adds 8d927a9 Qt: Fix QStyledItemDelegate assertions.
Summary of changes:
ui/qt/percent_bar_delegate.cpp | 2 +-
ui/qt/percent_bar_delegate.h | 4 ++++
ui/qt/timeline_delegate.cpp | 3 +--
ui/qt/timeline_delegate.h | 4 ++++
4 files changed, 10 insertions(+), 3 deletions(-)
Sent via: Wireshark-commits mailing list <email@example.com>