From 5ef2d7ef0a45da9f67e78381818d3cde119e7e66 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 28 Feb 2008 22:16:15 +0000 Subject: [PATCH] warn if LMMS-plugin does not have required _plugin_descriptor field git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@734 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 6 ++++++ src/core/plugin.cpp | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index c04ca13d5..e91703a34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-28 Tobias Doerffel + + * src/core/plugin.cpp: + warn if LMMS-plugin does not have required _plugin_descriptor + field + 2008-02-28 Paul Giblock * plugins/sf2_player: diff --git a/src/core/plugin.cpp b/src/core/plugin.cpp index 5ced487f1..0d8f99458 100644 --- a/src/core/plugin.cpp +++ b/src/core/plugin.cpp @@ -169,6 +169,10 @@ void plugin::getDescriptorsOfAvailPlugins( QVector & _plugin_descs ) desc_name.toAscii().constData() ); if( plugin_desc == NULL ) { + printf( "LMMS-plugin %s does not have a " + "plugin-descriptor named %s!\n", + f.absoluteFilePath().toAscii().constData(), + desc_name.toAscii().constData() ); continue; } _plugin_descs.push_back( *plugin_desc );