diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-10-27 14:52:27 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-04 14:27:00 +0100 |
commit | 8b56dc30d78aabc697749a8542d6d4f39b63f44d (patch) | |
tree | d1acaa4174073a98987049a6c2e357a23760c55b /smtk-import/smrtk2ssrfc_window.cpp | |
parent | 92ba4b9cc7bbc2e1818191745d1976f9b915be9a (diff) | |
download | subsurface-8b56dc30d78aabc697749a8542d6d4f39b63f44d.tar.gz |
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>
Diffstat (limited to 'smtk-import/smrtk2ssrfc_window.cpp')
-rw-r--r-- | smtk-import/smrtk2ssrfc_window.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/smtk-import/smrtk2ssrfc_window.cpp b/smtk-import/smrtk2ssrfc_window.cpp index 98734cf45..6b40b8a7d 100644 --- a/smtk-import/smrtk2ssrfc_window.cpp +++ b/smtk-import/smrtk2ssrfc_window.cpp @@ -49,8 +49,7 @@ void Smrtk2ssrfcWindow::updateLastUsedDir(const QString &dir) void Smrtk2ssrfcWindow::on_inputFilesButton_clicked() { inputFiles = QFileDialog::getOpenFileNames(this, tr("Open SmartTrak files"), lastUsedDir(), - tr("SmartTrak files (*.slg *.SLG);;" - "All files (*)")); + tr("SmartTrak files") + " (*.slg);;" + tr("All files") + " (*.*)"); if (inputFiles.isEmpty()) return; updateLastUsedDir(QFileInfo(inputFiles[0]).dir().path()); @@ -61,8 +60,7 @@ void Smrtk2ssrfcWindow::on_inputFilesButton_clicked() void Smrtk2ssrfcWindow::on_outputFileButton_clicked() { outputFile = QFileDialog::getSaveFileName(this, tr("Open Subsurface files"), lastUsedDir(), - tr("Subsurface files (*.ssrf *SSRF *.xml *.XML);;" - "All files (*)")); + tr("Subsurface files") + " (*.ssrf *.xml);;" + tr("All files") + " (*.*)"); if (outputFile.isEmpty()) return; updateLastUsedDir(QFileInfo(outputFile).dir().path()); |