aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-12-22 09:07:11 +0000
committerIngo Klöcker <[email protected]>2023-12-22 09:35:15 +0000
commit0b3c8709f7e6a50381325691fe06e9b95f937bf5 (patch)
tree1294587f0cb2dc0c045b5022cde7aa52a9c2a901
parentqt: Support verification of opaque signed data directly to/from files (diff)
downloadgpgme-0b3c8709f7e6a50381325691fe06e9b95f937bf5.tar.gz
gpgme-0b3c8709f7e6a50381325691fe06e9b95f937bf5.zip
qt,doc: Document that Job::startIt() doesn't self-destruct Job on error
-- GnuPG-bug-id: 6550
-rw-r--r--lang/qt/src/job.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/qt/src/job.h b/lang/qt/src/job.h
index 297dfe06..b5a6bcf4 100644
--- a/lang/qt/src/job.h
+++ b/lang/qt/src/job.h
@@ -97,7 +97,10 @@ public:
/** Starts the job.
*
- * Starts the job with the values set for the concrete job.
+ * Starts the job with the values set for the concrete job. If starting
+ * the job failed then you are responsible for destroying it. Therefore,
+ * it's recommended to store the job in a std::unique_ptr until it has
+ * been started successfully.
*/
GpgME::Error startIt();