Fix a dangling pointer use
authorRobin Burchell <robin.burchell@jollamobile.com>
Tue, 3 Dec 2013 21:36:02 +0000 (22:36 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 4 Dec 2013 10:42:57 +0000 (11:42 +0100)
commitb857f611014b8723751be8bc0418399ac62103ec
tree2f538c789dbee0bb6da82aa043556ed92beab3b0
parent5708dfcc80ac4eb029bab6af9b9fbee148da0786
Fix a dangling pointer use

toLocal8Bit returns a temporary, so we must not keep a pointer to the data
inside it

Change-Id: I8fa4138c15acce0005e304b5206585fcd1a5e56b
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
src/location/maps/qgeotilecache.cpp