diff --git a/src/style.cpp b/src/style.cpp index e82d524..79e01ba 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -49,7 +49,7 @@ Style::Layer::Filter::Filter(const QJsonArray &json) if (json.isEmpty()) INVALID_FILTER(json); - QString type = json.at(0).toString(); + QString type(json.at(0).toString()); if (type == "==") { if (json.size() != 3)