aboutsummaryrefslogtreecommitdiff
path: root/lib/accountregistry.h
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-05-31 00:08:48 +0200
committerTobias Fella <fella@posteo.de>2022-05-31 00:08:48 +0200
commit05067556a295dc5e01a97a54c625a1776611c8dd (patch)
tree9e66172314bd21b240c86b5d6dfc8fc71c325b64 /lib/accountregistry.h
parent6e27a49fbbc58a7310753f882fe372ddb0f63e33 (diff)
downloadlibquotient-05067556a295dc5e01a97a54c625a1776611c8dd.tar.gz
libquotient-05067556a295dc5e01a97a54c625a1776611c8dd.zip
Save connection state when destructing accountregistry
Diffstat (limited to 'lib/accountregistry.h')
-rw-r--r--lib/accountregistry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/accountregistry.h b/lib/accountregistry.h
index 38cfe6c6..959c7d42 100644
--- a/lib/accountregistry.h
+++ b/lib/accountregistry.h
@@ -42,6 +42,8 @@ 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