diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/accountregistry.cpp | 5 | ||||
-rw-r--r-- | lib/accountregistry.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/accountregistry.cpp b/lib/accountregistry.cpp index 3a022f14..a292ed45 100644 --- a/lib/accountregistry.cpp +++ b/lib/accountregistry.cpp @@ -36,8 +36,7 @@ bool AccountRegistry::contains(Connection *c) const return m_accounts.contains(c); } -AccountRegistry::AccountRegistry() -{} +AccountRegistry::AccountRegistry() = default; QVariant AccountRegistry::data(const QModelIndex &index, int role) const { @@ -95,4 +94,4 @@ Connection* AccountRegistry::get(const QString& userId) } } return nullptr; -}
\ No newline at end of file +} diff --git a/lib/accountregistry.h b/lib/accountregistry.h index e87da3e8..5efda459 100644 --- a/lib/accountregistry.h +++ b/lib/accountregistry.h @@ -42,4 +42,4 @@ private: QVector<Connection *> m_accounts; }; -}
\ No newline at end of file +} |