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()));
}
Controller::~Controller() {
for (Connection* c : m_connections) {
c->stopSync();
}
}
Controller::~Controller() {}
inline QString accessTokenFileName(const AccountSettings& account) {
QString fileName = account.userId();
@ -246,5 +242,5 @@ void Controller::setDpi(int dpi) {
}
QString Controller::removeReply(const QString& text) {
return utils::removeReply(text);
return utils::removeReply(text);
}