mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 11:34:05 +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,
|
QString fileName = QFileDialog::getOpenFileName( this,
|
||||||
tr( "Import Favorites from file" ),
|
tr( "Import Favorites from file" ),
|
||||||
importPath,
|
importPath,
|
||||||
tr( "XML files (*.xml);;Txt files (*.txt);;All files (*.*)" ) );
|
tr( "Text and XML files (*.txt *.xml);;All files (*.*)" ) );
|
||||||
if ( fileName.size() == 0 ) {
|
if ( fileName.size() == 0 ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue