aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_interfaces_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-08-01 16:32:02 -0700
committerGerald Combs <gerald@wireshark.org>2014-08-02 00:50:41 +0000
commit69d0788875b81b2cdd0c751f00eb5b20944ffe15 (patch)
tree72c5ddb373485c69c25d6c8bbae8b51988e124af /ui/qt/capture_interfaces_dialog.cpp
parent45f3deed0b55177266618b686e388aea4300a7ec (diff)
CompiledFilterOutput dialog fixes and updates.
Apply a layout to the "Compiled Filter Output" dialog. Render the filter as monospaced text. Don't add an "expert OK" icon to the list. It doesn't seem to indicate any sort of status. Use a "Close" button instead of "OK". According to http://uxmovement.com/buttons/why-the-ok-button-is-no-longer-okay/ "OK" implies we're going to perform some sort of action. Add a "Copy" button while we're here. Change-Id: Ia63f3032916e322fa9f4f2d465140b128b4f8078 Reviewed-on: https://code.wireshark.org/review/3338 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/capture_interfaces_dialog.cpp')
-rw-r--r--ui/qt/capture_interfaces_dialog.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/qt/capture_interfaces_dialog.cpp b/ui/qt/capture_interfaces_dialog.cpp
index 8c34a66f95..7138d59772 100644
--- a/ui/qt/capture_interfaces_dialog.cpp
+++ b/ui/qt/capture_interfaces_dialog.cpp
@@ -481,7 +481,6 @@ void CaptureInterfacesDialog::on_compileBPF_clicked()
{
QTableWidgetItem *it = ui->tbInterfaces->item(row, INTERFACE);
if (selected.contains(it)) {
- QString str = it->text();
interfaces->append(it->text());
}
}