mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
This commit is contained in:
parent
b0c7b9078d
commit
3536fa8a75
5 changed files with 8 additions and 8 deletions
|
|
@ -34,7 +34,7 @@ void TappedOutInterface::queryFinished(QNetworkReply *reply)
|
|||
*/
|
||||
QString deckUrl = reply->rawHeader("Location");
|
||||
qDebug() << "Tappedout: good reply, http status" << httpStatus << "location" << deckUrl;
|
||||
QDesktopServices::openUrl("http://tappedout.net" + deckUrl);
|
||||
QDesktopServices::openUrl("https://tappedout.net" + deckUrl);
|
||||
} else {
|
||||
/*
|
||||
* Otherwise, the deck has not been parsed correctly. Error messages can be extracted
|
||||
|
|
@ -86,7 +86,7 @@ void TappedOutInterface::analyzeDeck(DeckList *deck)
|
|||
QByteArray data;
|
||||
getAnalyzeRequestData(deck, &data);
|
||||
|
||||
QNetworkRequest request(QUrl("http://tappedout.net/mtg-decks/paste/"));
|
||||
QNetworkRequest request(QUrl("https://tappedout.net/mtg-decks/paste/"));
|
||||
request.setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded");
|
||||
|
||||
manager->post(request, data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue