Proposed fix for 1352 Mk2, move the loaded instrument to the parent thread
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user