From e86e99e72ce4e2a3ab0efc7c7887ce7bb1f37e52 Mon Sep 17 00:00:00 2001 From: xiaoyifang <105986+xiaoyifang@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:59:19 +0800 Subject: [PATCH] opt: combine the file filters as one entry (#2022) * opt: combine the file filters as one entry * Update src/ui/mainwindow.cc Co-authored-by: shenleban tongying --------- Co-authored-by: shenleban tongying --- src/ui/mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index f614cbee..1f8f7484 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -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; }