Mercurial > minori
comparison src/anilist.cpp @ 4:5af270662505
Set override functions as override
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 12 Aug 2023 12:08:16 -0400 |
parents | 190ded9438c0 |
children | 1d82f6e04d7d |
comparison
equal
deleted
inserted
replaced
3:190ded9438c0 | 4:5af270662505 |
---|---|
35 if it's okay to contact AniList WITHOUT verification. If so, we're golden, and this | 35 if it's okay to contact AniList WITHOUT verification. If so, we're golden, and this |
36 flag will be set. If not, we should abort mission. | 36 flag will be set. If not, we should abort mission. |
37 | 37 |
38 For this program, it's probably fine to just contact AniList without | 38 For this program, it's probably fine to just contact AniList without |
39 HTTPS verification. However it should still be in the list of things to do... */ | 39 HTTPS verification. However it should still be in the list of things to do... */ |
40 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, FALSE); | 40 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, false); |
41 res = curl_easy_perform(curl); | 41 res = curl_easy_perform(curl); |
42 curl_slist_free_all(list); | 42 curl_slist_free_all(list); |
43 if (res != CURLE_OK) { | 43 if (res != CURLE_OK) { |
44 QMessageBox box(QMessageBox::Icon::Critical, "", QString("curl_easy_perform(curl) failed!: ") + QString(curl_easy_strerror(res))); | 44 QMessageBox box(QMessageBox::Icon::Critical, "", QString("curl_easy_perform(curl) failed!: ") + QString(curl_easy_strerror(res))); |
45 box.exec(); | 45 box.exec(); |