mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-23 19:25:55 +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
|
||||
RESOURCES += pbfplugin.qrc
|
||||
|
||||
DEFINES += QT_NO_DEPRECATED_WARNINGS
|
||||
|
||||
unix:!macx{
|
||||
LIBS += -lprotobuf-lite \
|
||||
-lz
|
||||
|
@ -172,7 +172,7 @@ bool Style::Layer::Filter::match(const PBF::Feature &feature) const
|
||||
return true;
|
||||
return false;
|
||||
case GeometryType:
|
||||
return feature.type() == _kv.second.toUInt();
|
||||
return feature.type() == _kv.second.toInt();
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user