aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_window.cpp
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2012-06-20 13:30:07 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2012-06-20 13:30:07 +0000
commitc8391561bf16bde475344593e7987bc45c94944e (patch)
tree7f1ac290c1925812ef8d63c739a0e558ed2cd958 /ui/qt/main_window.cpp
parentade3bd548ae4b02c8cb9bb8344b9329997ed62d8 (diff)
Use separate filters for the RTT found on a SACK and the RTT found on a
DATA chunk: having them in both places is helpful when looking at the messages but having them separate is helpful when graphing the RTTs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43406 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'ui/qt/main_window.cpp')
-rw-r--r--ui/qt/main_window.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index fd504b4cb5..298014cfb7 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -148,8 +148,7 @@ void MainWindow::captureFileReadStarted(const capture_file *cf) {
// main_set_for_capture_file(TRUE);
ui->statusBar->popFileStatus();
- //TODO:i18n
- QString msg = QString().sprintf("Loading: %s", get_basename(cf->filename));
+ QString msg = QString(tr("Loading: %1")).arg(get_basename(cf->filename));
ui->statusBar->pushFileStatus(msg);
}
@@ -211,7 +210,7 @@ append_file_type(QStringList &filters, int ft)
filter = wtap_file_type_string(ft);
filter += " (";
- extensions_list = wtap_get_file_extensions_list(ft);
+ extensions_list = wtap_get_file_extensions_list(ft, TRUE);
if (extensions_list == NULL) {
/* This file type doesn't have any particular extension
conventionally used for it, so we'll just use "*.*"