diff options
author | Saturneric <[email protected]> | 2021-07-05 19:51:44 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-05 19:51:44 +0000 |
commit | c8cbfb2e8638691e4028d889dcb3222064b19339 (patch) | |
tree | 86538afc364b8d0b375b4b94282d1613427ab617 /src/gpg/GpgFileOpera.cpp | |
parent | Introduce multithreading. (diff) | |
download | GpgFrontend-c8cbfb2e8638691e4028d889dcb3222064b19339.tar.gz GpgFrontend-c8cbfb2e8638691e4028d889dcb3222064b19339.zip |
Improve large file reading.
Add loading animation.
Other improvements.
Diffstat (limited to 'src/gpg/GpgFileOpera.cpp')
-rw-r--r-- | src/gpg/GpgFileOpera.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpg/GpgFileOpera.cpp b/src/gpg/GpgFileOpera.cpp index ee2f1e0d..9395bd17 100644 --- a/src/gpg/GpgFileOpera.cpp +++ b/src/gpg/GpgFileOpera.cpp @@ -132,6 +132,8 @@ gpgme_error_t GpgFileOpera::signFile(GpgME::GpgContext *ctx, QVector<GpgKey> &ke gpgme_error_t GpgFileOpera::verifyFile(GpgME::GpgContext *ctx, const QString &mPath, gpgme_verify_result_t *result) { + qDebug() << "Verify File Path" << mPath; + QFileInfo fileInfo(mPath); if (!fileInfo.isFile() || !fileInfo.isReadable()) @@ -166,6 +168,9 @@ gpgme_error_t GpgFileOpera::verifyFile(GpgME::GpgContext *ctx, const QString &mP gpg_error_t GpgFileOpera::encryptSignFile(GpgME::GpgContext *ctx, QVector<GpgKey> &keys, const QString &mPath, gpgme_encrypt_result_t *encr_res, gpgme_sign_result_t *sign_res) { + + qDebug() << "Encrypt Sign File Path" << mPath; + QFileInfo fileInfo(mPath); if (!fileInfo.isFile() || !fileInfo.isReadable()) @@ -199,6 +204,9 @@ gpg_error_t GpgFileOpera::encryptSignFile(GpgME::GpgContext *ctx, QVector<GpgKey gpg_error_t GpgFileOpera::decryptVerifyFile(GpgME::GpgContext *ctx, const QString &mPath, gpgme_decrypt_result_t *decr_res, gpgme_verify_result_t *verify_res) { + + qDebug() << "Decrypt Verify File Path" << mPath; + QFileInfo fileInfo(mPath); if (!fileInfo.isFile() || !fileInfo.isReadable()) |