diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-03-17 11:45:43 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-03-17 18:47:30 +0000 |
commit | 6637f4d144c96a4bb467540c46bb47779d2be573 (patch) | |
tree | 7c8326877b9dfeaee43d4d589bb6eb9dd21d9d37 /ui/tap_export_pdu.c | |
parent | f59ad07a0a8b3d79c74bd2ebc6c3e04c5ef4e70f (diff) | |
download | wireshark-6637f4d144c96a4bb467540c46bb47779d2be573.tar.gz |
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>
Diffstat (limited to 'ui/tap_export_pdu.c')
0 files changed, 0 insertions, 0 deletions