summaryrefslogtreecommitdiff
path: root/ui/qt/time_shift_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-10-15 23:14:10 +0200
committerGerald Combs <gerald@wireshark.org>2015-10-19 17:41:12 +0000
commita0113a5eb3329b815e1790f8dc42c48fa6ffbcd7 (patch)
tree98790347f65517d02597b14d6115ccd9d3f6c0e3 /ui/qt/time_shift_dialog.h
parent6f9801a6279f01ec004f1796bc2fd9d8f1110a99 (diff)
downloadwireshark-a0113a5eb3329b815e1790f8dc42c48fa6ffbcd7.tar.gz
Qt: fix time shift
Add a timeShifted signal to TimeShiftDialog and use it to update the packet list and model. Add drawCurrentPacket to PacketList so that we can do a more thorough job of redrawing the current packet and tree. Bug: 11575 Change-Id: I960d8cdbf6872e3f71007cb4d2bbd5457f268257 Reviewed-on: https://code.wireshark.org/review/11068 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/time_shift_dialog.h')
-rw-r--r--ui/qt/time_shift_dialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/time_shift_dialog.h b/ui/qt/time_shift_dialog.h
index adf169f76d..ee2746d791 100644
--- a/ui/qt/time_shift_dialog.h
+++ b/ui/qt/time_shift_dialog.h
@@ -48,6 +48,9 @@ public:
public slots:
void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
+signals:
+ void timeShifted();
+
private:
Ui::TimeShiftDialog *ts_ui_;
capture_file *cap_file_;