diff options
author | Saturneric <[email protected]> | 2021-06-19 10:28:30 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-19 10:28:30 +0000 |
commit | 7377178bc7214cf2e4e93ffa05e3ad29dda79b89 (patch) | |
tree | 8517330e926667004bc8d4854da78ff3caec7a37 /src/gpg/result_analyse/EncryptResultAnalyse.cpp | |
parent | Add dependent files under Windows. (diff) | |
download | GpgFrontend-7377178bc7214cf2e4e93ffa05e3ad29dda79b89.tar.gz GpgFrontend-7377178bc7214cf2e4e93ffa05e3ad29dda79b89.zip |
Improve project documents
Continue to write ReadME
Eliminate compile-time warnings
Fix some problems
Diffstat (limited to 'src/gpg/result_analyse/EncryptResultAnalyse.cpp')
-rw-r--r-- | src/gpg/result_analyse/EncryptResultAnalyse.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gpg/result_analyse/EncryptResultAnalyse.cpp b/src/gpg/result_analyse/EncryptResultAnalyse.cpp index 8cdd7750..dfcad1ac 100644 --- a/src/gpg/result_analyse/EncryptResultAnalyse.cpp +++ b/src/gpg/result_analyse/EncryptResultAnalyse.cpp @@ -6,28 +6,28 @@ EncryptResultAnalyse::EncryptResultAnalyse(gpgme_error_t error, gpgme_encrypt_result_t result) { - stream << "# Encrypt Report: " << endl << "-----" << endl; + stream << "# Encrypt Report: " << Qt::endl << "-----" << Qt::endl; if(gpgme_err_code(error) == GPG_ERR_NO_ERROR) { - stream << "Status: Encrypt Success" << endl; + stream << "Status: Encrypt Success" << Qt::endl; } else { - stream << "Status:" << gpgme_strerror(error) << endl; + stream << "Status:" << gpgme_strerror(error) << Qt::endl; setStatus(-1); if (result != nullptr) { - stream << "Invalid Recipients: " << endl; + stream << "Invalid Recipients: " << Qt::endl; auto inv_reci = result->invalid_recipients; while (inv_reci != nullptr) { - stream << "Fingerprint: " << inv_reci->fpr << endl; - stream << "Reason: " << gpgme_strerror(inv_reci->reason) << endl; - stream << endl; + stream << "Fingerprint: " << inv_reci->fpr << Qt::endl; + stream << "Reason: " << gpgme_strerror(inv_reci->reason) << Qt::endl; + stream << Qt::endl; inv_reci = inv_reci->next; } } } - stream << "-----" << endl; - stream << endl; + stream << "-----" << Qt::endl; + stream << Qt::endl; } |