fixed crash when closing meterDialog and choosing custom-sync afterwards
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1160 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#define _TEMPO_SYNC_KNOB_H
|
||||
|
||||
#include <QtGui/QPixmap>
|
||||
#include <QtCore/QPointer>
|
||||
|
||||
#include "knob.h"
|
||||
#include "meter_model.h"
|
||||
@@ -146,7 +147,7 @@ private:
|
||||
QPixmap m_tempoSyncIcon;
|
||||
QString m_tempoSyncDescription;
|
||||
|
||||
meterDialog * m_custom;
|
||||
QPointer<meterDialog> m_custom;
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user