diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-10-02 16:31:42 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-10-02 16:33:15 +0200 |
| commit | 335b8a78cab1d6f58df2478ae2134795a27f50de (patch) | |
| tree | 9b31f63b7107aac7ecc5e934eb8e3d64b9f8ae37 | |
| parent | f1357e3789fa4a7b21181f70a669aa8612878f30 (diff) | |
| download | src-335b8a78cab1d6f58df2478ae2134795a27f50de.tar.gz src-335b8a78cab1d6f58df2478ae2134795a27f50de.zip | |
Korrigiere Rechtschreibung in MainWindow
| -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(); /** |
