mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
Silenced all the deprecated warnings
This commit is contained in:
parent
d8df5cb595
commit
c0a7d64a1d
@ -37,6 +37,8 @@ SOURCES += src/pbfplugin.cpp \
|
|||||||
src/textitem.cpp
|
src/textitem.cpp
|
||||||
RESOURCES += pbfplugin.qrc
|
RESOURCES += pbfplugin.qrc
|
||||||
|
|
||||||
|
DEFINES += QT_NO_DEPRECATED_WARNINGS
|
||||||
|
|
||||||
unix:!macx{
|
unix:!macx{
|
||||||
LIBS += -lprotobuf-lite \
|
LIBS += -lprotobuf-lite \
|
||||||
-lz
|
-lz
|
||||||
|
@ -172,7 +172,7 @@ bool Style::Layer::Filter::match(const PBF::Feature &feature) const
|
|||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
case GeometryType:
|
case GeometryType:
|
||||||
return feature.type() == _kv.second.toUInt();
|
return feature.type() == _kv.second.toInt();
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user