Silenced all the deprecated warnings

This commit is contained in:
Martin Tůma 2020-01-31 22:20:57 +01:00
parent d8df5cb595
commit c0a7d64a1d
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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;
}