From 335b8a78cab1d6f58df2478ae2134795a27f50de Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Fri, 2 Oct 2015 16:31:42 +0200 Subject: Korrigiere Rechtschreibung in MainWindow --- mainwindow.cpp | 6 +++--- 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(); /** -- cgit v1.2.3-70-g09d2