Commit 85798ebd authored by Bart De Vries's avatar Bart De Vries
Browse files

Run clang-format

parent d0dbdad7
Pipeline #71383 passed with stage
in 8 minutes and 27 seconds
......@@ -148,11 +148,9 @@ void PodcastSearchModel::search(const QString &text)
request.setRawHeader("Authorization", hash.toHex());
auto reply = Fetcher::instance().get(request);
connect(reply, &QNetworkReply::finished, this, [=]() {
if(reply->error())
{
if (reply->error()) {
ErrorLogModel::instance().monitorErrorMessages(Error::Type::DiscoverError, url, QString(), reply->error(), reply->errorString(), url);
}
else {
} else {
beginResetModel();
m_data = QJsonDocument::fromJson(reply->readAll()).object();
endResetModel();
......
......@@ -12,8 +12,8 @@
#include <QObject>
#include <QVariant>
#include "feed.h"
#include "errorlogmodel.h"
#include "feed.h"
class PodcastSearchModel : public QAbstractListModel
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment