aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-06-30 14:55:19 -0700
committerMichael Mann <mmann78@netscape.net>2016-07-01 02:10:22 +0000
commit5cf7fcdf0f62cf0d8617428141a26e6f280a45d0 (patch)
tree104b76a624fe278c5db96591e97d26912f64f5ea /wireshark-qt.cpp
parentf860e8de525d721d6678896fc9ef415ea68e2ead (diff)
Qt+Gtk: Fix the -t command line flag.
Add the time format to commandline_param_info_t and apply it when we've finished application initialization. Bug: 12489 Change-Id: Ice626198a610567e945a8e53c0c1093797e8208e Reviewed-on: https://code.wireshark.org/review/16232 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 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index 6acfee27a1..7bdf9466ee 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -606,7 +606,6 @@ int main(int argc, char *argv[])
* https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9e277ae6154fd04bf6a0a34ec5655a73e5a736a3
*/
- // XXX Is there a better place to set the timestamp format & precision?
timestamp_set_type(recent.gui_time_format);
timestamp_set_precision(recent.gui_time_precision);
timestamp_set_seconds_type (recent.gui_seconds_format);