aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/related_packet_delegate.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-07-24 17:05:20 +0000
committerGerald Combs <gerald@wireshark.org>2013-07-24 17:05:20 +0000
commit4c45973d7573dc68ce3ee9c539465564e331fa73 (patch)
treeb83f340611b998f0be34a0586fdb6c224d44e4ad /ui/qt/related_packet_delegate.cpp
parent61e0e4d88ce29a1f21f5a7a11e0d7577f0c0c089 (diff)
Add a note about possible improvements.
svn path=/trunk/; revision=50867
Diffstat (limited to 'ui/qt/related_packet_delegate.cpp')
-rw-r--r--ui/qt/related_packet_delegate.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/related_packet_delegate.cpp b/ui/qt/related_packet_delegate.cpp
index 780c52958a..56f35aa18b 100644
--- a/ui/qt/related_packet_delegate.cpp
+++ b/ui/qt/related_packet_delegate.cpp
@@ -76,6 +76,10 @@ void RelatedPacketDelegate::paint(QPainter *painter, const QStyleOptionViewItem
op.translate(en_w + 0.5, 0.5);
op.setRenderHint(QPainter::Antialiasing, true);
+ // The current decorations are based on what looked good and were easy
+ // to code. W might want to improve them by drawing small dots or tick
+ // marks for frames in the same conversation XOR draw a gap for unrelated
+ // frames.
if (first_frame_ > 0 && last_frame_ > 0 && first_frame_ != last_frame_) {
int height = optv4.rect.height();
if ((int) fd->num == first_frame_) {