[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble/src/lib/geodata/data
From: Jens-Michael Hoffmann <jensmh () gmx ! de>
Date: 2010-11-08 21:42:29
Message-ID: 20101108214229.AC12DAC8A3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1194386 by jmhoffmann:
GeoDataPlacemarkPrivate: Fix assignment operator to also assign the lookAt member.
M +4 -0 GeoDataPlacemark_p.h
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPlacemark_p.h #1194385:1194386
@@ -72,6 +72,10 @@
m_area = other.m_area;
m_population = other.m_population;
m_state = other.m_state;
+
+ GeoDataLookAt * const lookAt = other.m_lookAt ? new GeoDataLookAt( *other.m_lookAt ) : 0;
+ delete m_lookAt;
+ m_lookAt = lookAt;
}
virtual void* copy()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic