mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Correct, cleanup, translate and unify file filters
Correct spelling and typos in file filters. Unify and translate file filter names. Don't pass a file filter to a directory open dialog - not needed. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
92ba4b9cc7
commit
8b56dc30d7
9 changed files with 105 additions and 77 deletions
|
@ -20,7 +20,7 @@ PreferencesDefaults::~PreferencesDefaults()
|
|||
void PreferencesDefaults::on_chooseFile_clicked()
|
||||
{
|
||||
QFileInfo fi(system_default_filename());
|
||||
QString choosenFileName = QFileDialog::getOpenFileName(this, tr("Open default log file"), fi.absolutePath(), tr("Subsurface XML files (*.ssrf *.xml *.XML)"));
|
||||
QString choosenFileName = QFileDialog::getOpenFileName(this, tr("Open default log file"), fi.absolutePath(), tr("Subsurface files") + " (*.ssrf *.xml)");
|
||||
|
||||
if (!choosenFileName.isEmpty())
|
||||
ui->defaultfilename->setText(choosenFileName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue