diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-10-11 17:20:50 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-10-11 17:20:50 +0000 |
commit | 259768dc1ae8894c1ae758c762389e3926be4bfb (patch) | |
tree | 302f8e99883053a6fad30cd5fb114ffc191517c8 /ui/qt/capture_file_dialog.cpp | |
parent | ee5397d832bc1b19791ffe1280621a6b327cae23 (diff) |
Remove GTK+ and global cfile dependencies from file_dlg_win32.c.
Move the declaration of set_last_open_dir() to ui/util.h. It still
has separate GTK+ and Qt implemenations. We might want to move it to
ui/util.c at some point. Remove a lot of unnecessary GTK+ includes.
Remove most of the references to the global cfile while we're at it.
svn path=/trunk/; revision=52542
Diffstat (limited to 'ui/qt/capture_file_dialog.cpp')
-rw-r--r-- | ui/qt/capture_file_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/capture_file_dialog.cpp b/ui/qt/capture_file_dialog.cpp index 2e22e6de17..450b471106 100644 --- a/ui/qt/capture_file_dialog.cpp +++ b/ui/qt/capture_file_dialog.cpp @@ -267,7 +267,7 @@ check_savability_t CaptureFileDialog::exportSelectedPackets(QString &file_name, GString *fname = g_string_new(file_name.toUtf8().constData()); gboolean wespf_status; - wespf_status = win32_export_specified_packets_file((HWND)parentWidget()->effectiveWinId(), fname, &file_type_, &compressed_, range); + wespf_status = win32_export_specified_packets_file((HWND)parentWidget()->effectiveWinId(), cap_file_, fname, &file_type_, &compressed_, range); file_name = fname->str; g_string_free(fname, TRUE); |