summaryrefslogtreecommitdiff
path: root/ui/qt/main_window.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-06-22 14:41:16 -0700
committerMichael Mann <mmann78@netscape.net>2016-06-23 03:03:51 +0000
commitbcae998048190ce70ae9d0cbc05dc61e9e66c3b4 (patch)
tree5346794d02b6f3f7976b7e01ee18a65440e66f1e /ui/qt/main_window.cpp
parent18a900f19126dead1f039c699b5e48b1c5fd2efd (diff)
downloadwireshark-bcae998048190ce70ae9d0cbc05dc61e9e66c3b4.tar.gz
Qt: Support the -j, -J, and -l command line flags
Add support for -j, -J, and -l. Mark the -m flag deprecated. Bug: 12546 Change-Id: Ic44b3997840018e5d571aa1813a1646bce11d4a6 Reviewed-on: https://code.wireshark.org/review/16083 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/main_window.cpp')
-rw-r--r--ui/qt/main_window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index 617e184835..4d81268241 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -1027,9 +1027,9 @@ void MainWindow::mergeCaptureFile()
gchar *err_msg;
if (!dfilter_compile(read_filter.toUtf8().constData(), &rfcode, &err_msg)) {
- /* Not valid. Tell the user, and go back and run the file
+ /* Not valid. Tell the user, and go back and run the file
selection box again once they dismiss the alert. */
- //bad_dfilter_alert_box(top_level, read_filter->str);
+ // Similar to commandline_info.jfilter section in main().
QMessageBox::warning(this, tr("Invalid Read Filter"),
QString(tr("The filter expression %1 isn't a valid read filter. (%2).").arg(read_filter, err_msg)),
QMessageBox::Ok);