Fix gcc warning

This commit is contained in:
Jon Beniston 2022-09-26 13:32:00 +01:00
parent 907871f164
commit b935b32274
1 changed files with 2 additions and 0 deletions

View File

@ -496,6 +496,8 @@ void GLSpectrumGUI::on_markers_clicked(bool checked)
// Save spectrum data to a text file
void GLSpectrumGUI::on_save_clicked(bool checked)
{
(void) checked;
// Get filename to write
QFileDialog fileDialog(nullptr, "Select file to save data to", "", "*.*");
fileDialog.setAcceptMode(QFileDialog::AcceptSave);