diff options
author | Joerg Mayer <jmayer@loplof.de> | 2015-07-08 00:13:24 +0200 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2015-07-07 22:17:22 +0000 |
commit | 0619ed241c6a874864ce3bf83edc20468ed49b7e (patch) | |
tree | c8c7d6e767aba52458742f5840d4da71d0df9852 /ui/qt/follow_stream_dialog.cpp | |
parent | 51a37b666a18f8d85e4a43ec2d9676d24d15c360 (diff) | |
download | wireshark-0619ed241c6a874864ce3bf83edc20468ed49b7e.tar.gz |
Finish removal of Q_UNUSED.
Todo: qcustomplot via upstream
Change-Id: I19cf98f1281ecb1f6efbb7d36c997d5aa43f5baf
Reviewed-on: https://code.wireshark.org/review/9547
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'ui/qt/follow_stream_dialog.cpp')
-rw-r--r-- | ui/qt/follow_stream_dialog.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/ui/qt/follow_stream_dialog.cpp b/ui/qt/follow_stream_dialog.cpp index c29ebe9d78..84a8e1983a 100644 --- a/ui/qt/follow_stream_dialog.cpp +++ b/ui/qt/follow_stream_dialog.cpp @@ -368,10 +368,8 @@ FollowStreamDialog::readStream() //Copy from ui/gtk/follow_udp.c static int udp_queue_packet_data(void *tapdata, packet_info *pinfo, - epan_dissect_t *edt, const void *data) + epan_dissect_t *, const void *data) { - Q_UNUSED(edt); - follow_record_t *follow_record; follow_info_t *follow_info = (follow_info_t *)tapdata; tvbuff_t *next_tvb = (tvbuff_t *)data; @@ -403,10 +401,8 @@ udp_queue_packet_data(void *tapdata, packet_info *pinfo, //Copy from ui/gtk/follow_ssl.c static int -ssl_queue_packet_data(void *tapdata, packet_info *pinfo, epan_dissect_t *edt, const void *ssl) +ssl_queue_packet_data(void *tapdata, packet_info *pinfo, epan_dissect_t *, const void *ssl) { - Q_UNUSED(edt); - follow_info_t * follow_info = (follow_info_t*) tapdata; SslDecryptedRecord * rec = NULL; SslDataInfo * appl_data = NULL; @@ -597,9 +593,8 @@ void FollowStreamDialog::addText(QString text, gboolean is_from_server, guint32 // / (slash), Ctrl-F - Focus and highlight the search box // Ctrl-G, Ctrl-N, F3 - Find next // Should we make it so that typing any text starts searching? -bool FollowStreamDialog::eventFilter(QObject *obj, QEvent *event) +bool FollowStreamDialog::eventFilter(QObject *, QEvent *event) { - Q_UNUSED(obj); if (ui->teStreamContent->hasFocus() && event->type() == QEvent::KeyPress) { QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event); if (keyEvent->matches(QKeySequence::SelectAll) || keyEvent->matches(QKeySequence::Copy) |