Tomaz Canabrava cafc7e4b13 Clear the data when the model resets.
This patch does a few things:
1 - reset the model when user closes the dive file
2 - connects the 'rowsAboutToBeRemoved' in a way that the graphics can
    remove their polygons too
3 - adds a 'clear' virtual method so items that don't follow the rules can
    clean themseves up.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-10 09:57:04 -08:00
..
2014-02-08 08:00:27 -08:00
2014-02-08 08:00:27 -08:00
2014-02-09 14:42:06 -08:00
2014-02-09 14:42:07 -08:00
2013-12-04 15:49:55 -08:00
2014-02-06 11:29:23 -08:00
2014-02-06 11:29:23 -08:00
2014-02-09 14:42:07 -08:00
2013-12-20 09:53:04 -08:00
2013-10-15 04:37:31 -07:00
2014-02-09 14:42:07 -08:00
2014-01-16 12:15:47 +07:00
2014-02-09 08:20:17 -08:00
2014-01-16 12:15:47 +07:00
2014-02-06 11:29:23 -08:00
2014-02-06 11:29:23 -08:00
2013-11-30 12:01:32 -08:00
2014-01-16 12:15:47 +07:00
2014-02-09 14:42:06 -08:00
2014-01-10 16:12:44 +07:00