diff options
| -rw-r--r-- | mainwindow.cpp | 6 | ||||
| -rw-r--r-- | mainwindow.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index a779614..8b888aa 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -113,13 +113,13 @@ void MainWindow::on_pushButtonEncrypt_clicked() void MainWindow::on_pushButtonOpenFile_clicked() { - QString fielname = QFileDialog::getOpenFileName(this, tr("Datei Öffnen"), + QString filename = QFileDialog::getOpenFileName(this, tr("Datei Öffnen"), QDir::homePath(), tr("Alle Dateien")); - if (!fielname.isEmpty()) + if (!filename.isEmpty()) { - ui->lineEditFilePath->setText(fielname); + ui->lineEditFilePath->setText(filename); } } diff --git a/mainwindow.h b/mainwindow.h index 30e61da..4ae6bb9 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -48,9 +48,9 @@ private slots: */ void on_pushButtonEncrypt_clicked(); /** - * @brief Öfnete ein Datei. - * öffnet DateiDialog für eine Klartext Datei. - * Schreibt Dateipfart in lineEditFilePath(ChangeEvent). + * @brief Öffnet einen Dateidialog + * für eine Klartext Datei. + * Schreibt Dateipfad in lineEditFilePath(ChangeEvent). */ void on_pushButtonOpenFile_clicked(); /** |
