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:
parent
0482b78a8d
commit
c85120ea1d
|
@ -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:
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue