Proposed fix for 1352 Mk2, move the loaded instrument to the parent thread

This commit is contained in:
Dave French
2015-01-05 18:39:44 +00:00
parent e5c4df372e
commit 7588f235ee
2 changed files with 33 additions and 1 deletions

View File

@@ -33,6 +33,7 @@
#include "Track.h"
#include "JournallingObject.h"
#include "InstrumentTrack.h"
class QVBoxLayout;
@@ -182,6 +183,19 @@ signals:
} ;
class InstrumentLoaderThread : public QThread
{
Q_OBJECT
public:
InstrumentLoaderThread( QObject *parent = 0, InstrumentTrack *it = 0,
QString name = "" );
void run();
private:
InstrumentTrack *m_it;
QString m_name;
QThread *m_containerThread;
};
#endif