diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-19 16:36:30 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-21 13:26:30 +0000 |
commit | 39bdeb2706d552be51a07be30ddb2433a1f044b2 (patch) | |
tree | 2f57ac5e76e3adaf662ab3df9af0434b56395dec /ui/qt/main_window.h | |
parent | e3829d723dc85387665e2843e08a30954766506e (diff) | |
download | wireshark-39bdeb2706d552be51a07be30ddb2433a1f044b2.tar.gz |
Confirm discarding data before restarting capture.
Modify existing MainWindow::testCaptureFileClose() to handle restart scenario.
Bug: 9605
Change-Id: Ie57624ca482b050745474f5e1c61343f60292a42
Reviewed-on: https://code.wireshark.org/review/12733
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r-- | ui/qt/main_window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index abd63e2910..c2cdd090fb 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -179,7 +179,7 @@ private: void exportDissections(export_type_e export_type); void fileAddExtension(QString &file_name, int file_type, bool compressed); - bool testCaptureFileClose(bool from_quit = false, QString before_what = QString()); + bool testCaptureFileClose(bool from_quit = false, QString before_what = QString(), bool restart = false); void captureStop(); void initMainToolbarIcons(); |