mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 07:24:07 +00:00
opt: combine the file filters as one entry (#2022)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: combine the file filters as one entry * Update src/ui/mainwindow.cc Co-authored-by: shenleban tongying <shenlebantongying@gmail.com> --------- Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
This commit is contained in:
parent
13a50dbb6c
commit
e86e99e72c
|
@ -4025,7 +4025,7 @@ void MainWindow::on_importFavorites_triggered()
|
|||
QString fileName = QFileDialog::getOpenFileName( this,
|
||||
tr( "Import Favorites from file" ),
|
||||
importPath,
|
||||
tr( "XML files (*.xml);;Txt files (*.txt);;All files (*.*)" ) );
|
||||
tr( "Text and XML files (*.txt *.xml);;All files (*.*)" ) );
|
||||
if ( fileName.size() == 0 ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue