aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/packet_list.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/qt/packet_list.h b/ui/qt/packet_list.h
index eaaabbab18..28033b5af1 100644
--- a/ui/qt/packet_list.h
+++ b/ui/qt/packet_list.h
@@ -28,6 +28,13 @@ class OverlayScrollBar;
class QAction;
class QTimerEvent;
+//
+// XXX - Wireshark supports up to 2^32-1 packets in a capture, but
+// row numbers in a QAbstractItemModel are ints, not unsigned ints,
+// so we can only have 2^31-1 rows on ILP32, LP64, and LLP64 platforms.
+// Does that mean we're permanently stuck at a maximum of 2^31-1 packets
+// per capture?
+//
class PacketList : public QTreeView
{
Q_OBJECT