Merge pull request #1557 from curlymorphic/i1352

Proposed fix for 1352 Mk2, move the loaded instrument to the parent thre...
This commit is contained in:
Tres Finocchiaro
2015-01-10 09:40:48 -05:00
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