diff --git a/src/core/DataFile.cpp b/src/core/DataFile.cpp index 48d7613a0..652805470 100644 --- a/src/core/DataFile.cpp +++ b/src/core/DataFile.cpp @@ -138,6 +138,8 @@ DataFile::DataFile( Type type ) : root.setAttribute( "type", typeName( type ) ); root.setAttribute( "creator", "LMMS" ); root.setAttribute( "creatorversion", LMMS_VERSION ); + root.setAttribute("creatorplatform", QSysInfo::kernelType()); + root.setAttribute("creatorplatformtype", QSysInfo::productType()); appendChild( root ); m_head = createElement( "head" ); @@ -2101,6 +2103,8 @@ void DataFile::upgrade() documentElement().setAttribute( "type", typeName( type() ) ); documentElement().setAttribute( "creator", "LMMS" ); documentElement().setAttribute( "creatorversion", LMMS_VERSION ); + documentElement().setAttribute("creatorplatform", QSysInfo::kernelType()); + documentElement().setAttribute("creatorplatformtype", QSysInfo::productType()); if( type() == Type::SongProject || type() == Type::SongProjectTemplate ) {