equal
deleted
inserted
replaced
83 |
83 |
84 void PageDataDownload::request(const QUrl &url) |
84 void PageDataDownload::request(const QUrl &url) |
85 { |
85 { |
86 QUrl finalUrl; |
86 QUrl finalUrl; |
87 if(url.host().isEmpty()) |
87 if(url.host().isEmpty()) |
88 finalUrl = QUrl("http://www.hedgewars.org" + url.path()); |
88 finalUrl = QUrl("https://www.hedgewars.org" + url.path()); |
89 else |
89 else |
90 finalUrl = url; |
90 finalUrl = url; |
91 |
91 |
92 if(url.path().endsWith(".hwp") || url.path().endsWith(".zip")) |
92 if(url.path().endsWith(".hwp") || url.path().endsWith(".zip")) |
93 { |
93 { |
193 } |
193 } |
194 } |
194 } |
195 |
195 |
196 void PageDataDownload::fetchList() |
196 void PageDataDownload::fetchList() |
197 { |
197 { |
198 request(QUrl("http://hedgewars.org/content.html")); |
198 request(QUrl("https://hedgewars.org/content.html")); |
199 } |
199 } |
200 |
200 |
201 |
201 |
202 void PageDataDownload::onPageLeave() |
202 void PageDataDownload::onPageLeave() |
203 { |
203 { |