Support new-style plugins without a "Keys" json property
authorAlex Wilson <alex.wilson@nokia.com>
Mon, 5 Mar 2012 08:16:58 +0000 (18:16 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 6 Mar 2012 05:34:42 +0000 (06:34 +0100)
commit9c75d0a91327868b2131d11caea2cd0ccd437711
tree57fd3801ec50f4560360cf9f7f741bd5d32afa2b
parent95550c8f1292c93ea42d59283394fc4f4d63bf2c
Support new-style plugins without a "Keys" json property

As per discussion with Lars, intent here was to allow plugins without
a "Keys" property to still function correctly, but this particular
if statement was blocking any such plugins from being detected.

Change-Id: Icb343ca8bd95a508d62565cd816fe2a57a4f82bd
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/corelib/plugin/qfactoryloader.cpp