rowCount should return 0 if the parent *is* valid, and return the actual number of rows when queried with an invalid index. Change-Id: I00e3d4ea79e1aaf0be1974da876c5a871d3924e6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Task-number: QTCREATORBUG-7 Change-Id: Ibc06eda1b6596b08dd2e3be4e426c8b89be31064 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>