rename password to passphrase

This commit is contained in:
DenioD
2020-06-03 09:52:55 +02:00
parent 32a706339c
commit e105cee439
4 changed files with 57 additions and 91 deletions

View File

@@ -516,7 +516,7 @@ void MainWindow::sendChat() {
QString Name = ui->contactNameMemo->text();
int sizename = Name.size();
qDebug()<< sizename;
if (ui->contactNameMemo->text().trimmed().isEmpty() || ui->memoTxtChat->toPlainText().trimmed().isEmpty()) {
if ((sizename < 1) || (ui->memoTxtChat->toPlainText().trimmed().isEmpty())) {
QMessageBox msg(QMessageBox::Critical, tr("You have to select a contact and insert a Memo"),
tr("You have selected no Contact from Contactlist,\n") + tr("\nor your Memo is empty"),