Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

Commit

Permalink
support MAL switched to SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-py committed Nov 6, 2016
1 parent 2d2bb0f commit 7c69d9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion logic/blinkcore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <QtNetwork/QNetworkAccessManager>
#include <QtCore/QThread>

const QString BlinkCore::UrlTemplate { QStringLiteral("http://myanimelist.net/malappinfo.php?u=%1&status=all&type=%2") };
const QString BlinkCore::UrlTemplate { QStringLiteral("https://myanimelist.net/malappinfo.php?u=%1&status=all&type=%2") };
const QString BlinkCore::UrlAnimePart { QStringLiteral("anime") };
const QString BlinkCore::UrlMangaPart { QStringLiteral("manga") };

Expand Down
6 changes: 4 additions & 2 deletions logic/blinkparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ void BlinkParser::abort()

void BlinkParser::onReplyReadyRead()
{
m_reader->addData(m_reply->readAll());
parseXml();
if (m_reply != nullptr) {
m_reader->addData(m_reply->readAll());
parseXml();
}
}

void BlinkParser::checkResultCode()
Expand Down
2 changes: 1 addition & 1 deletion mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Blink! Covers Generator [beta]</string>
<string>Blink! Covers Generator</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout">
Expand Down

0 comments on commit 7c69d9c

Please sign in to comment.