ResourceDB: added missing type name for PluginSpecificResource type

A type name for ResourceItem::PluginSpecificResource was missing in the
s_typeNames map. Therefore the type property of such resources was not
saved properly and had to be guessed each time at startup.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
This commit is contained in:
Tobias Doerffel
2009-07-05 16:08:13 +02:00
parent 372ff79f96
commit f4e94d4584

View File

@@ -47,6 +47,8 @@ ResourceDB::ResourceDB( ResourceProvider * _provider ) :
s_typeNames[ResourceItem::TypeDirectory] = "Directory";
s_typeNames[ResourceItem::TypeSample] = "Sample";
s_typeNames[ResourceItem::TypePreset] = "Preset";
s_typeNames[ResourceItem::TypePluginSpecificResource] =
"PluginSpecificResource";
s_typeNames[ResourceItem::TypeProject] = "Project";
s_typeNames[ResourceItem::TypeMidiFile] = "MidiFile";
s_typeNames[ResourceItem::TypeForeignProject] = "ForeignProject";