Fix file selection filter on *nix systems

This commit is contained in:
Janek Bevendorff 2018-01-20 13:15:03 +01:00
parent 8da3efa2c2
commit 3c98ce43c6

View file

@ -117,7 +117,7 @@ void BrowserOptionDialog::showProxyLocationFileDialog()
#ifdef Q_OS_WIN
QString fileTypeFilter(tr("Executable Files (*.exe);;All Files (*.*)"));
#else
QString fileTypeFilter(tr("Executable Files (*.*)"));
QString fileTypeFilter(tr("Executable Files (*)"));
#endif
auto proxyLocation = QFileDialog::getOpenFileName(this, tr("Select custom proxy location"),
QFileInfo(QCoreApplication::applicationDirPath()).filePath(),