add spx extenstion to the QFileDialog save path

This commit is contained in:
xiaoyifang 2022-11-17 14:09:11 +08:00
parent 67485fd875
commit df91a5b7bd

View file

@ -2035,7 +2035,7 @@ void ArticleView::contextMenuRequested( QPoint const & pos )
fileName = savePath + "/" + name; fileName = savePath + "/" + name;
fileName = QFileDialog::getSaveFileName( parentWidget(), tr( "Save sound" ), fileName = QFileDialog::getSaveFileName( parentWidget(), tr( "Save sound" ),
fileName, fileName,
tr( "Sound files (*.wav *.ogg *.oga *.mp3 *.mp4 *.aac *.flac *.mid *.wv *.ape);;All files (*.*)" ) ); tr( "Sound files (*.wav *.ogg *.oga *.mp3 *.mp4 *.aac *.flac *.mid *.wv *.ape *.spx);;All files (*.*)" ) );
} }
else else
{ {