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 b3025fa4..f25369d6 100644 --- a/lib/accountregistry.cpp +++ b/lib/accountregistry.cpp @@ -126,3 +126,10 @@ QStringList AccountRegistry::accountsLoading() const { return m_accountsLoading; } + +AccountRegistry::~AccountRegistry() +{ + for (const auto& connection : *this) { + connection->saveState(); + } +} |