Consistently pass C++ Boolean constants to saveCaptureFile().

The second argument is a bool, so pass bool constants.

(The C integer constants presumably get coerced correctly, but we might
as well be clean.)

Change-Id: Ia170b443bb9933a8916d9dc25d7492fc8acf1f22
Reviewed-on: https://code.wireshark.org/review/15596
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-05-27 20:33:37 -07:00
parent 0482b78a8d
commit c85120ea1d
2 changed files with 2 additions and 2 deletions

View File

@ -993,7 +993,7 @@ void MainWindow::mergeCaptureFile()
case QMessageBox::Save:
/* Save the file but don't close it */
saveCaptureFile(capture_file_.capFile(), FALSE);
saveCaptureFile(capture_file_.capFile(), false);
break;
case QMessageBox::Cancel:

View File

@ -1627,7 +1627,7 @@ void MainWindow::on_actionFileClose_triggered() {
void MainWindow::on_actionFileSave_triggered()
{
saveCaptureFile(capture_file_.capFile(), FALSE);
saveCaptureFile(capture_file_.capFile(), false);
}
void MainWindow::on_actionFileSaveAs_triggered()