mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-19 04:06:17 -04:00
made initialization of dummy-plugin pixmap-loder static
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1231 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
#include "dummy_plugin.h"
|
||||
|
||||
|
||||
static pixmapLoader __dummy_loader;
|
||||
|
||||
static plugin::descriptor dummy_plugin_descriptor =
|
||||
{
|
||||
"dummy",
|
||||
@@ -46,22 +48,18 @@ static plugin::descriptor dummy_plugin_descriptor =
|
||||
"Tobias Doerffel <tobydox/at/users.sf.net>",
|
||||
0x0100,
|
||||
plugin::Undefined,
|
||||
NULL,
|
||||
&__dummy_loader,
|
||||
NULL
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
|
||||
plugin::plugin( const descriptor * _descriptor, model * _parent ) :
|
||||
journallingObject(),
|
||||
model( _parent ),
|
||||
m_descriptor( _descriptor )
|
||||
{
|
||||
if( dummy_plugin_descriptor.logo == NULL )
|
||||
{
|
||||
dummy_plugin_descriptor.logo = new pixmapLoader;
|
||||
}
|
||||
|
||||
if( m_descriptor == NULL )
|
||||
{
|
||||
m_descriptor = &dummy_plugin_descriptor;
|
||||
|
||||
Reference in New Issue
Block a user