protect m_previewPlayHandle with mutex

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@513 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2007-08-05 23:54:26 +00:00
parent bc9ac66638
commit 51c21ac627
2 changed files with 17 additions and 1 deletions

View File

@@ -36,11 +36,13 @@
#ifdef QT4
#include <QtCore/QDir>
#include <QtCore/QMutex>
#else
#include <qlistview.h>
#include <qdir.h>
#include <qmutex.h>
#define cleanPath cleanDirPath
@@ -129,6 +131,7 @@ private:
QPoint m_pressPos;
playHandle * m_previewPlayHandle;
QMutex m_pphMutex;
} ;