[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Sun Nov 7 13:41:47 CET 2010
SVN commit 1193871 by jmhoffmann:
LayerManagerPrivate: Define outside class declaration and use ctor init list.
M +10 -8 LayerManager.cpp
--- trunk/KDE/kdeedu/marble/src/lib/LayerManager.cpp #1193870:1193871
@@ -47,14 +47,7 @@
{
public:
LayerManagerPrivate( MarbleDataFacade* dataFacade,
- PluginManager* pluginManager )
- : m_mapTheme(0),
- m_dataFacade( dataFacade ),
- m_pluginManager( pluginManager )
- {
- m_renderPlugins = pluginManager->createRenderPlugins();
- }
-
+ PluginManager* pluginManager );
~LayerManagerPrivate();
GeoSceneDocument *m_mapTheme;
@@ -67,6 +60,15 @@
QList<LayerInterface *> m_internalLayers;
};
+LayerManagerPrivate::LayerManagerPrivate( MarbleDataFacade* dataFacade,
+ PluginManager* pluginManager )
+ : m_mapTheme( 0 ),
+ m_dataFacade( dataFacade ),
+ m_pluginManager( pluginManager ),
+ m_renderPlugins( pluginManager->createRenderPlugins() )
+{
+}
+
LayerManagerPrivate::~LayerManagerPrivate()
{
foreach( RenderPlugin * renderPlugin, m_renderPlugins )
More information about the Marble-commits
mailing list