summaryrefslogtreecommitdiff
path: root/ui/qt/capture_file_dialog.cpp
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-09 10:38:02 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-09 10:38:02 +0000
commit38edae1c718f690281958ff43d1154abc1c96247 (patch)
tree710d4b0220196b0b12691dc2d6d48394b9b8bc59 /ui/qt/capture_file_dialog.cpp
parentf207c70075d66f226e0eea8f33aae6105925ea25 (diff)
downloadwireshark-38edae1c718f690281958ff43d1154abc1c96247.tar.gz
Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec.
After r50154 nstime_t is inside wsutil/ so wiretap don't need it's own copy. svn path=/trunk/; revision=53184
Diffstat (limited to 'ui/qt/capture_file_dialog.cpp')
-rw-r--r--ui/qt/capture_file_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/capture_file_dialog.cpp b/ui/qt/capture_file_dialog.cpp
index 6b452352ed..a048b4dbb0 100644
--- a/ui/qt/capture_file_dialog.cpp
+++ b/ui/qt/capture_file_dialog.cpp
@@ -785,7 +785,7 @@ void CaptureFileDialog::preview(const QString & path)
time(&time_preview);
while ( (wtap_read(wth, &err, &err_info, &data_offset)) ) {
phdr = wtap_phdr(wth);
- cur_time = wtap_nstime_to_sec(&phdr->ts);
+ cur_time = nstime_to_sec(&phdr->ts);
if(packets == 0) {
start_time = cur_time;
stop_time = cur_time;