aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgContext.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-16 05:41:38 +0000
committersaturneric <[email protected]>2023-12-16 05:41:38 +0000
commitd6311ece3fa3e8e976befa7e253d453398046c7c (patch)
treea23183865059d06ee7796214d9747b8bf334016c /src/core/function/gpg/GpgContext.h
parentfix: clean up envirnoment when app exits (diff)
downloadGpgFrontend-d6311ece3fa3e8e976befa7e253d453398046c7c.tar.gz
GpgFrontend-d6311ece3fa3e8e976befa7e253d453398046c7c.zip
fix: slove memory problem of gpg context
Diffstat (limited to 'src/core/function/gpg/GpgContext.h')
-rw-r--r--src/core/function/gpg/GpgContext.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/function/gpg/GpgContext.h b/src/core/function/gpg/GpgContext.h
index ead0c89b..16dd7c4a 100644
--- a/src/core/function/gpg/GpgContext.h
+++ b/src/core/function/gpg/GpgContext.h
@@ -55,13 +55,11 @@ struct GpgContextInitArgs {
*
*/
class GPGFRONTEND_CORE_EXPORT GpgContext
- : public QObject,
- public SingletonFunctionObject<GpgContext> {
- Q_OBJECT
+ : public SingletonFunctionObject<GpgContext> {
public:
explicit GpgContext(int channel);
- explicit GpgContext(const GpgContextInitArgs &args, int channel);
+ explicit GpgContext(GpgContextInitArgs args, int channel);
virtual ~GpgContext() override;