Mark constructors as explicit

This commit is contained in:
Chocobo1 2018-12-16 15:51:36 +08:00
parent 94998b5da0
commit 2a84345835
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
16 changed files with 61 additions and 53 deletions

View file

@ -131,7 +131,7 @@ void Feed::refresh()
// NOTE: Should we allow manually refreshing for disabled session?
Net::DownloadHandler *handler = Net::DownloadManager::instance()->download({m_url});
Net::DownloadHandler *handler = Net::DownloadManager::instance()->download(m_url);
connect(handler
, static_cast<void (Net::DownloadHandler::*)(const QString &, const QByteArray &)>(&Net::DownloadHandler::downloadFinished)
, this, &Feed::handleDownloadFinished);