Fixed duplicate controllers issue
This commit is contained in:
@@ -258,12 +258,7 @@ ConstNotePlayHandleList presetPreviewPlayHandle::nphsOfInstrumentTrack(
|
||||
|
||||
bool presetPreviewPlayHandle::isPreviewing()
|
||||
{
|
||||
bool ret = s_previewTC->m_dataMutex.tryLock();
|
||||
if( ret == true )
|
||||
{
|
||||
s_previewTC->m_dataMutex.unlock();
|
||||
}
|
||||
return ret;
|
||||
return s_previewTC->isPreviewing();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1500,6 +1500,13 @@ void song::removeController( Controller * _controller )
|
||||
|
||||
|
||||
|
||||
|
||||
bool song::isLoadingProject()
|
||||
{
|
||||
return m_loadingProject;
|
||||
}
|
||||
|
||||
|
||||
#include "moc_song.cxx"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user