summaryrefslogtreecommitdiff
path: root/ui/qt/byte_view_text.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-07-21 00:37:15 +0100
committerJoão Valverde <j@v6e.pt>2016-07-22 13:41:41 +0000
commit2c38a05d0154697ac5438eadf98750a600e68cbb (patch)
tree90ae705985065ce11f82d2993600739e550c55d9 /ui/qt/byte_view_text.h
parent0903568bf3a784da935507851a3088a8b17ef91c (diff)
downloadwireshark-2c38a05d0154697ac5438eadf98750a600e68cbb.tar.gz
Qt: Add hovered byte lock on left-click
Allows marking/unmarking a single byte in the bytes view pane. Ping-Bug: 11547 Change-Id: I574ad7c6218eb08018094ea92ba79b69dbe4b45d Reviewed-on: https://code.wireshark.org/review/16563 Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Michal Labedzki <michal.labedzki@tieto.com> Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ui/qt/byte_view_text.h')
-rw-r--r--ui/qt/byte_view_text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/byte_view_text.h b/ui/qt/byte_view_text.h
index 29ddc2372c..4fa0d4e7c0 100644
--- a/ui/qt/byte_view_text.h
+++ b/ui/qt/byte_view_text.h
@@ -110,6 +110,7 @@ private:
// Data highlight
guint hovered_byte_offset;
+ bool hovered_byte_lock;
QPair<guint,guint> p_bound_;
QPair<guint,guint> f_bound_;
QPair<guint,guint> fa_bound_;