From 8b56dc30d78aabc697749a8542d6d4f39b63f44d Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Fri, 27 Oct 2017 14:52:27 +0200 Subject: 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 --- smtk-import/smrtk2ssrfc_window.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'smtk-import/smrtk2ssrfc_window.cpp') 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()); -- cgit v1.2.3-70-g09d2