added simple-serializing mode which makes tracks not save their TCOs - used for improved save and restore of presets (closes #2025902)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1417 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -381,6 +381,10 @@ public:
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _this );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
|
||||
void setSimpleSerializing( void )
|
||||
{
|
||||
m_simpleSerializingMode = TRUE;
|
||||
}
|
||||
|
||||
// -- for usage by trackContentObject only ---------------
|
||||
trackContentObject * addTCO( trackContentObject * _tco );
|
||||
@@ -449,6 +453,7 @@ private:
|
||||
boolModel m_soloModel;
|
||||
bool m_mutedBeforeSolo;
|
||||
|
||||
bool m_simpleSerializingMode;
|
||||
|
||||
tcoVector m_trackContentObjects;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user