don't leak mapTheme

Authored by Bernhard Beschow <bbeschow@cs.tu-berlin.de>.

Description

don't leak mapTheme

When !mapTheme->head()->visible() was true (e.g. for the srtm2 theme), the GeoSceneDocument object was leaked.

(cherry picked from commit 7d1f04c166d510ca3500f3e97af4d3f9ff3d832f)

Details

Committed
Bernhard Beschow <bbeschow@cs.tu-berlin.de>Sep 1 2013, 5:33 PM
Parents
R34:bc48124128a1: make RoutingWidget resizable within the QScrollArea
Branches
Unknown
Tags
Unknown
References
KDE/4.10
Bernhard Beschow <bbeschow@cs.tu-berlin.de> committed R34:4f26e0fcdf64: don't leak mapTheme (authored by Bernhard Beschow <bbeschow@cs.tu-berlin.de>).Sep 1 2013, 5:33 PM