| 848 | } |
| 849 | |
| 850 | void Settings::on_sslPrivateKeyPathBrowseButton_clicked() |
| 851 | { |
| 852 | QString home = QDir::homePath(); |
| 853 | if (QFile::exists(ui->sslPrivateKeyPath->text())) { |
| 854 | home = ui->sslPrivateKeyPath->text(); |
| 855 | } |
| 856 | |
| 857 | QString fileName = QFileDialog::getOpenFileName(this, |
| 858 | tr("Choose Key"), home, tr("*.*")); |
| 859 | |
| 860 | if (QFile::exists(fileName)) { |
| 861 | ui->sslPrivateKeyPath->setText(fileName); |
| 862 | } |
| 863 | |
| 864 | } |
| 865 | |
| 866 | void Settings::on_documentationButton_clicked() |
| 867 | { |