From ae92e9465023d5637d1ac33863a16427d9ab652f Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Sat, 28 Oct 2023 19:54:26 -0400 Subject: [PATCH] Fix compile error Signed-off-by: Geoff Hutchison --- avogadro/qtgui/fileformatdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avogadro/qtgui/fileformatdialog.cpp b/avogadro/qtgui/fileformatdialog.cpp index e831ba5714..73765967ff 100644 --- a/avogadro/qtgui/fileformatdialog.cpp +++ b/avogadro/qtgui/fileformatdialog.cpp @@ -88,7 +88,7 @@ FileFormatDialog::FormatFilePair FileFormatDialog::fileToWrite( if (FileFormat::validateFileName(fileName.toStdString()) == false) { QMessageBox::warning( - parent, caption, + parentWidget, caption, tr("The file name contains invalid characters. Please choose another " "file name.")); continue;