Qt Wireshark - Once a live capture is stopped the title bar persists in reporting "Capturing from interface name"
With Qt Wireshark the title bar persists in reporting "Capturing from <interface name>" even though capturing has stopped. With GTK Wireshark once a live capture is stopped the title bar is updated to report the interface name(s) used for the unsaved capture file. Issue reported by Jim Young Bug:10948 Change-Id: Ia6099f63f82b6610ade5c81af0cf257236f076ec Reviewed-on: https://code.wireshark.org/review/7050 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
2bc71d3138
commit
5c60289753
|
@ -1589,7 +1589,7 @@ void MainWindow::setTitlebarForCaptureFile()
|
|||
// XXX - Use setWindowModified
|
||||
gchar *window_name;
|
||||
setWindowFilePath(NULL);
|
||||
window_name = g_strdup_printf("Capturing from %s[*]", cf_get_tempfile_source(capture_file_.capFile())); //TODO : Fix Translate
|
||||
window_name = g_strdup_printf("[*]%s", cf_get_tempfile_source(capture_file_.capFile())); //TODO : Fix Translate
|
||||
setWindowTitle(window_name);
|
||||
g_free(window_name);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue