mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-20 04:09:11 +02:00
Compare commits
No commits in common. "f5f27c0212a65ca60b5d10e923274caefea58458" and "71a757983fc6779d36efb607d3715d49d4948937" have entirely different histories.
f5f27c0212
...
71a757983f
@ -1,4 +1,4 @@
|
||||
version: 13.37.{build}
|
||||
version: 13.36.{build}
|
||||
|
||||
configuration:
|
||||
- Release
|
||||
|
@ -3,7 +3,7 @@ unix:!macx:!android {
|
||||
} else {
|
||||
TARGET = GPXSee
|
||||
}
|
||||
VERSION = 13.37
|
||||
VERSION = 13.36
|
||||
|
||||
QT += core \
|
||||
gui \
|
||||
|
@ -49,7 +49,7 @@ Unicode true
|
||||
; The name of the installer
|
||||
Name "GPXSee"
|
||||
; Program version
|
||||
!define VERSION "13.37"
|
||||
!define VERSION "13.36"
|
||||
|
||||
; The file to write
|
||||
OutFile "GPXSee-${VERSION}_x64.exe"
|
||||
|
@ -151,7 +151,8 @@ bool Downloader::doDownload(const Download &dl, const QList<HTTPHeader> &headers
|
||||
for (int i = 0; i < headers.size(); i++) {
|
||||
const HTTPHeader &hdr = headers.at(i);
|
||||
request.setRawHeader(hdr.key(), hdr.value());
|
||||
if (!hdr.key().compare("User-Agent", Qt::CaseInsensitive))
|
||||
// QByteArray::compare() not available in Qt < 5.12
|
||||
if (!QString(hdr.key()).compare("User-Agent", Qt::CaseInsensitive))
|
||||
userAgent = true;
|
||||
}
|
||||
if (!userAgent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user