mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 17:15:14 +01:00
Fixed -Wold-style-cast warnings
This commit is contained in:
parent
698f14c835
commit
06901d8d7a
@ -20,8 +20,10 @@
|
|||||||
|
|
||||||
#define ATTR_REDIRECT QNetworkRequest::RedirectionTargetAttribute
|
#define ATTR_REDIRECT QNetworkRequest::RedirectionTargetAttribute
|
||||||
#define ATTR_FILE QNetworkRequest::User
|
#define ATTR_FILE QNetworkRequest::User
|
||||||
#define ATTR_ORIGIN (QNetworkRequest::Attribute)(QNetworkRequest::User + 1)
|
#define ATTR_ORIGIN \
|
||||||
#define ATTR_LEVEL (QNetworkRequest::Attribute)(QNetworkRequest::User + 2)
|
static_cast<QNetworkRequest::Attribute>(QNetworkRequest::User + 1)
|
||||||
|
#define ATTR_LEVEL \
|
||||||
|
static_cast<QNetworkRequest::Attribute>(QNetworkRequest::User + 2)
|
||||||
|
|
||||||
#define MAX_REDIRECT_LEVEL 5
|
#define MAX_REDIRECT_LEVEL 5
|
||||||
#define RETRIES 3
|
#define RETRIES 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user