diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-08 13:58:33 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-08 14:10:46 +0200 |
commit | d547e84c9335d9524ae7530be622d5ed2f0b1fb8 (patch) | |
tree | 193bd0337941033018df2390ee3f9bc389c67db5 /lib/accountregistry.h | |
parent | c566c94cc8db0401c30e6e047110d514bae1fa36 (diff) | |
download | libquotient-d547e84c9335d9524ae7530be622d5ed2f0b1fb8.tar.gz libquotient-d547e84c9335d9524ae7530be622d5ed2f0b1fb8.zip |
Save connection state while QCoreApplication is still there
This reimplements #558 in a more reliable way. Deconstruction of
AccountRegistry may (or may not, yay for static initialisation) occur
after deconstruction of QCoreApplication, in which case an attempt
to determine the directory for the state fails because it depends on
the application object existence.
Diffstat (limited to 'lib/accountregistry.h')
-rw-r--r-- | lib/accountregistry.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/accountregistry.h b/lib/accountregistry.h index 959c7d42..38cfe6c6 100644 --- a/lib/accountregistry.h +++ b/lib/accountregistry.h @@ -42,8 +42,6 @@ public: [[deprecated("Use Accounts variable instead")]] // static AccountRegistry& instance(); - ~AccountRegistry(); - // Expose most of QVector's const-API but only provide add() and drop() // for changing it. In theory other changing operations could be supported // too; but then boilerplate begin/end*() calls has to be tucked into each |