From 641c82beb76b7bb2561034800dd4df945bd9f234 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Mon, 3 Dec 2018 17:36:23 +0800 Subject: [PATCH] Clean up. --- src/controller.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/controller.cpp b/src/controller.cpp index 7552083..8992e9c 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -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); }