Fixes crash when opening file with Peak Controller

This commit is contained in:
Wong Cho Ching
2014-02-01 14:42:13 +08:00
parent 694c861318
commit 7d96a2d533
6 changed files with 122 additions and 10 deletions

View File

@@ -53,6 +53,9 @@ public:
virtual void loadSettings( const QDomElement & _this );
virtual QString nodeName() const;
static void initGetControllerBySetting();
static PeakController * getControllerBySetting( const QDomElement & _this );
static PeakControllerEffectVector s_effects;
@@ -67,6 +70,11 @@ protected:
PeakControllerEffect * m_peakEffect;
friend class PeakControllerDialog;
private:
//backward compatibility for <= 0.4.15
static int m_getCount;
static bool m_buggedFile;
} ;