Commit 53118141 authored by Nikita Melnichenko's avatar Nikita Melnichenko Committed by Davide Gianforte

improved robustness of QRESOURCE_ISCOMPRESSED macro

It could be used similar to a function call now, for example
parent 7b525193
......@@ -51,7 +51,7 @@
* This can be removed when the qt minimum version required will be >= 5.13
#define QRESOURCE_ISCOMPRESSED(A) (A).compressionAlgorithm() != QResource::NoCompression
#define QRESOURCE_ISCOMPRESSED(A) ((A).compressionAlgorithm() != QResource::NoCompression)
#define QRESOURCE_ISCOMPRESSED(A) (A).isCompressed()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment