Proposed fix for 1352 Instrument crash on loading

This commit is contained in:
Dave French
2014-12-27 17:47:31 +00:00
parent 1cd8c0e2c4
commit d68f8d7302
2 changed files with 36 additions and 1 deletions

View File

@@ -33,6 +33,7 @@
#include "Track.h"
#include "JournallingObject.h"
#include "InstrumentTrack.h"
class QVBoxLayout;
@@ -182,6 +183,23 @@ 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;
};
#endif