]> git.mxchange.org Git - flightgear.git/commitdiff
pkg: allow 'installed' as filter criterion.
authorThomas Geymayer <tomgey@gmail.com>
Sun, 15 Jun 2014 14:36:02 +0000 (16:36 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 15 Jun 2014 14:36:02 +0000 (16:36 +0200)
src/Network/HTTPClient.cxx

index b6022881917c4c33d8ce82589f5851c843711011..00bd0b3c155d319f00216870a145004439c3ddce 100644 (file)
@@ -183,6 +183,8 @@ static SGPropertyNode_ptr queryPropsFromHash(const nasal::Hash& h)
                 SGPropertyNode_ptr tag = props->getChild("tag", tagCount++, true);
                 tag->setStringValue(*tagIt);
             }
+        } else if (key == "installed") {
+            props->setBoolValue(key, it->getValue<bool>());
         } else {
             SG_LOG(SG_GENERAL, SG_WARN, "unknown filter term in hash:" << key);
         }