diff options
author | Michael Mann <mmann78@netscape.net> | 2016-06-22 10:56:07 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-06-22 23:53:23 +0000 |
commit | 92ea29128fe562ebb0b71aeb9d6b9f954dbeb7f0 (patch) | |
tree | 407d4bb5c89efd3d1c61a34aabd431e31ebaba90 /ui/qt/main_window.h | |
parent | d9fb7f9a5e2c08a5323ee7ed88956a0ccf62c634 (diff) | |
download | wireshark-92ea29128fe562ebb0b71aeb9d6b9f954dbeb7f0.tar.gz |
Don't close Wireshark (Qt) if user cancels Save on Close.
Bug: 9635
Change-Id: I8c73c839419cd4bcb850824ffb42bf72eed50b19
Reviewed-on: https://code.wireshark.org/review/16076
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r-- | ui/qt/main_window.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index 41d7288e5d..c112c75222 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -186,8 +186,8 @@ private: void mergeCaptureFile(); void importCaptureFile(); - void saveCaptureFile(capture_file *cf, bool dont_reopen); - void saveAsCaptureFile(capture_file *cf, bool must_support_comments = false, bool dont_reopen = false); + bool saveCaptureFile(capture_file *cf, bool dont_reopen); + bool saveAsCaptureFile(capture_file *cf, bool must_support_comments = false, bool dont_reopen = false); void exportSelectedPackets(); void exportDissections(export_type_e export_type); |