diff options
Diffstat (limited to 'lib/accountregistry.cpp')
-rw-r--r-- | lib/accountregistry.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/accountregistry.cpp b/lib/accountregistry.cpp index b40d5ecf..ab8c46e3 100644 --- a/lib/accountregistry.cpp +++ b/lib/accountregistry.cpp @@ -125,3 +125,10 @@ QStringList AccountRegistry::accountsLoading() const { return m_accountsLoading; } + +AccountRegistry::~AccountRegistry() +{ + for (const auto& connection : *this) { + connection->saveState(); + } +} |