Clean up.

This commit is contained in:
Black Hat 2018-12-03 17:36:23 +08:00
parent 5192a91391
commit 641c82beb7
1 changed files with 2 additions and 6 deletions

View File

@ -42,11 +42,7 @@ Controller::Controller(QObject* parent)
QTimer::singleShot(0, this, SLOT(invokeLogin())); QTimer::singleShot(0, this, SLOT(invokeLogin()));
} }
Controller::~Controller() { Controller::~Controller() {}
for (Connection* c : m_connections) {
c->stopSync();
}
}
inline QString accessTokenFileName(const AccountSettings& account) { inline QString accessTokenFileName(const AccountSettings& account) {
QString fileName = account.userId(); QString fileName = account.userId();