diff options
author | saturneric <[email protected]> | 2023-12-16 05:41:38 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-16 05:41:38 +0000 |
commit | d6311ece3fa3e8e976befa7e253d453398046c7c (patch) | |
tree | a23183865059d06ee7796214d9747b8bf334016c /src/core/function/gpg/GpgContext.h | |
parent | fix: clean up envirnoment when app exits (diff) | |
download | GpgFrontend-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.h | 6 |
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; |