wireshark/ui
Guy Harris 6637f4d144 Fix "Save All" for Export Objects.
Fix the loop that goes through all the objects to be saved so that it
looks at all the objects to be saved rather than repeatedly looking at
the first object.

When letting the user select a directory in which to save, restrict them
to looking at directories.

QDir doesn't do what we actually want here - QDir.setCurrent() might do
a chdir() but it doesn't appear to set the QDir's path, so when we use
it to construct pathnames it constructs them based on
wsApp->lastOpenDir() rather than the directory the user selected.  Use
Boring Old GLib's g_build_filename(), as we do in the GTK+ version, for
now.  (It also does something we *don't* want, namely, at least as the
documentation implies, a chdir().)

Bug: 11062
Change-Id: I705292dc2713b9dba615b0d59a4cf8313f357d82
Reviewed-on: https://code.wireshark.org/review/7720
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-03-17 18:47:30 +00:00
..
cli Get rid of an unused structure member. 2015-03-07 04:41:09 +00:00
gtk Assert that the row number passed to packet_list_get_row_data() is valid. 2015-03-12 05:18:39 +00:00
qt Fix "Save All" for Export Objects. 2015-03-17 18:47:30 +00:00
win32 (Trivial) Fix printf-related 'Mismatch on sign' warnings 2015-02-09 18:57:14 +00:00
CMakeLists.txt Multicast Stream: Move mcast_stream.[ch] to ui 2015-02-08 22:22:33 +00:00
Makefile.am Support out-of-source checkapi 2014-04-25 04:23:46 +00:00
Makefile.common Multicast Stream: Move mcast_stream.[ch] to ui 2015-02-08 22:22:33 +00:00
Makefile.nmake Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
alert_box.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
alert_box.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
capture.c Change a lot of http:// URLs to https://. 2015-03-10 19:30:50 +00:00
capture.h Qt: Add a CaptureFile class. 2014-12-20 17:39:29 +00:00
capture_globals.h Move capture_session.h to capchild; what it declares is defined there. 2014-06-30 05:09:31 +00:00
capture_ui_utils.c isdigit -> g_ascii_isdigit to make the build work. 2014-10-17 08:52:10 +00:00
capture_ui_utils.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
console.c (Trivial) Fix printf-related 'Mismatch on sign' warnings 2015-02-09 18:57:14 +00:00
console.h Move the console log handling code to ui/console.[ch]. 2014-09-26 14:15:45 +00:00
decode_as_utils.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
decode_as_utils.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
doxygen.cfg.in Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
export_object.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object.h Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
export_object_dicom.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object_http.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
export_object_smb.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
export_object_tftp.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
file_dialog.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
filters.c Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00
filters.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
follow.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
follow.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
help_url.c Change a lot of http:// URLs to https://. 2015-03-10 19:30:50 +00:00
help_url.h Qt: Add the "new packet" window^Wdialog^Wwindow. 2015-02-12 23:32:54 +00:00
iface_lists.c Replace ep_address_to_str with address_to_str. 2015-01-06 07:38:18 +00:00
iface_lists.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
io_graph_item.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
io_graph_item.h Make FT_{U}INT64 behave more like FT_{U}INT32, add support for FT_{U}INT{40,48,56} 2015-02-21 16:57:52 +00:00
language.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
language.h Qt: Dynamic languages 2014-11-04 08:21:55 +00:00
last_open_dir.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
main_statusbar.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
mcast_stream.c Multicast Stream: Move mcast_stream.[ch] to ui 2015-02-08 22:22:33 +00:00
mcast_stream.h Multicast Stream: Move mcast_stream.[ch] to ui 2015-02-08 22:22:33 +00:00
packet_list_utils.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
packet_list_utils.h Fix warning when generate documentation (doxygen) 2014-04-14 20:20:38 +00:00
persfilepath_opt.c Don't use <ctype.h> macros, and eliminate an include of <ctype.h>. 2014-10-17 06:41:58 +00:00
persfilepath_opt.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
preference_utils.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
preference_utils.h Qt: Automatically scroll the packet list. 2015-02-27 20:27:14 +00:00
profile.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 19:47:20 +00:00
profile.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
progress_dlg.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
proto_hier_stats.c Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
proto_hier_stats.h Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
recent.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
recent.h Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
recent_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
rtp_analysis.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
rtp_stream.c Fix RTP crash on RTP analysis attempt 2015-02-07 02:16:06 +00:00
rtp_stream.h Fix RTP crash on RTP analysis attempt 2015-02-07 02:16:06 +00:00
simple_dialog.h Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
software_update.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
software_update.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ssl_key_export.c Export CLIENT_RANDOM with Export SSL Session Keys 2015-03-12 16:27:10 +00:00
ssl_key_export.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-megaco-common.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
tap-megaco-common.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
tap-rtp-common.c Fix some indent typo (after g2bf7878e) 2015-02-02 12:37:06 +00:00
tap-rtp-common.h Qt: Add the RTP Streams dialog. 2015-01-30 06:48:32 +00:00
tap-sctp-analysis.c Fix up formatting and indentation a bit. 2015-02-17 03:41:20 +00:00
tap-sctp-analysis.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
tap-sequence-analysis.c Replace ep_display_to_address with wmem equivalent display_to_address. 2015-01-05 13:55:04 +00:00
tap-sequence-analysis.h Qt: Initial VoIP Calls dialog. 2014-12-09 21:25:33 +00:00
tap-tcp-stream.c Clean up ftype-conversion and dfilter error message string handling. 2015-01-18 10:22:59 +00:00
tap-tcp-stream.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap_export_pdu.c Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
tap_export_pdu.h Cleanup the "export PDU" common code. 2014-07-15 20:15:59 +00:00
text_import.c Handle "I can't map this for that file format" better. 2014-12-18 00:03:26 +00:00
text_import.h Revert "Refactor Wiretap" 2014-05-09 05:21:01 +00:00
text_import_scanner.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
text_import_scanner.l Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_shift.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
time_shift.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
traffic_table_ui.c WSUG and image updates. 2015-02-14 19:47:03 +00:00
traffic_table_ui.h Qt: Add the "Map" button to the Endpoints dialog. 2014-09-17 20:04:28 +00:00
ui_util.h Qt: Automatically scroll the packet list. 2015-02-27 20:27:14 +00:00
utf8_entities.h Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
util.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
voip_calls.c Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00
voip_calls.h Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00