summaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
authorMartin Talarczyk <talarczyk.martin@fh-swf.de>2015-09-30 00:27:35 +0200
committerMartin Talarczyk <talarczyk.martin@fh-swf.de>2015-09-30 00:30:15 +0200
commit7715c32e8adba7f87048280a171455d72d6069f6 (patch)
treeb3c8ab5f72390091cba9f69130c027e200f1a965 /mainwindow.cpp
parent6d70376b66802ee2ace76e816a8c50b91cdc7613 (diff)
downloadsrc-7715c32e8adba7f87048280a171455d72d6069f6.tar.gz
src-7715c32e8adba7f87048280a171455d72d6069f6.zip
Verhindere das leere Schlüssel hinzugefügt werden.
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index c670f0d..cff736c 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -32,7 +32,7 @@ void MainWindow::on_pushButtonDecrypt_clicked()
{
out = QFileDialog::getSaveFileName(this,
tr("Speicherort für Entschlüsseltedatei"), QDir::homePath(),
- tr("Alle Datein"));
+ tr("Alle Dateien"));
if (out.isEmpty())
{
@@ -106,6 +106,7 @@ void MainWindow::on_pushButtonOpenFile_clicked()
QDir::homePath(),
tr("Alle Datein"));
ui->lineEditFilePath->setText(fielname);
+
}
//Menü Führung
@@ -115,7 +116,7 @@ void MainWindow::on_actionImport_triggered()
// nur für pem und der
QString filename = QFileDialog::getOpenFileName(this,
tr("Schlüssel Datei für Import."), QDir::homePath(),
- tr("Schlüssel Datei (*.pem,*.der)"));
+ tr("Schlüssel Datei (*.pem *.der)"));
if (!filename.isEmpty())
{