Filename filters should be translated

This commit is contained in:
baldurk
2017-05-15 10:11:55 +01:00
parent 7f78e6fe11
commit 870f0cc166
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ QString RDDialog::getExecutableFileName(QWidget *parent, const QString &caption,
#if defined(Q_OS_WIN32)
// can't filter by executable bit on windows, but we have extensions
filter = lit("Executables (*.exe);;All Files (*.*)");
filter = QApplication::translate("RDDialog", "Executables (*.exe);;All Files (*.*)");
#endif
QFileDialog fd(parent, caption, dir, filter);