aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-02-10 11:02:42 +0100
committerAnders Broman <a.broman58@gmail.com>2015-02-19 15:17:20 +0000
commit5c6028975356ef813c225015d28cf1c7e0a805a1 (patch)
treebcfdcb5a82a621040e7a4d5094a72fe16c02d708
parent2bc71d3138bc2e1a863001b04f63e0740397c6c6 (diff)
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>
-rw-r--r--ui/qt/main_window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index 8df4344915..b247188da7 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -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 {