1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-04-19 19:59:11 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
f5f27c0212 Remove some more Qt < 5.15 hack 2025-02-24 13:34:17 +01:00
7e1bbbbd6a Version++ 2025-02-24 13:33:46 +01:00
4 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
version: 13.36.{build}
version: 13.37.{build}
configuration:
- Release

View File

@ -3,7 +3,7 @@ unix:!macx:!android {
} else {
TARGET = GPXSee
}
VERSION = 13.36
VERSION = 13.37
QT += core \
gui \

View File

@ -49,7 +49,7 @@ Unicode true
; The name of the installer
Name "GPXSee"
; Program version
!define VERSION "13.36"
!define VERSION "13.37"
; The file to write
OutFile "GPXSee-${VERSION}_x64.exe"

View File

@ -151,8 +151,7 @@ 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());
// QByteArray::compare() not available in Qt < 5.12
if (!QString(hdr.key()).compare("User-Agent", Qt::CaseInsensitive))
if (!hdr.key().compare("User-Agent", Qt::CaseInsensitive))
userAgent = true;
}
if (!userAgent)