• Tobias Hunger's avatar
    Kit: Add constructor to restore Kit from QVariantMap · 0224ec0a
    Tobias Hunger authored
    Do not trust kits with an invalid id, as there is no way those
    could have ended up being saved out by creator. Safe all other kits
    that were constructed using Kit(const QVariantMap &).
    
    This new constructor uses the code that used to be in fromMap(...),
    with some simplifications.
    
    Remove fromMap(...) method from kit as it is no longer used.
    
    Change-Id: Iac28ea9b85670e03088a4b7c5283af6b4b70c0fc
    Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
    0224ec0a
kit.h 4.29 KB