Small const fix

This commit is contained in:
Lukas W
2014-12-08 20:19:25 +01:00
parent 77f2b56221
commit ed8e30b4ee
5 changed files with 7 additions and 7 deletions

View File

@@ -263,7 +263,7 @@ public slots:
void playAndRecord();
void playTrack( Track * _trackToPlay );
void playBB();
void playPattern( Pattern* patternToPlay, bool _loop = true );
void playPattern(const Pattern* patternToPlay, bool _loop = true );
void togglePause();
void stop();
@@ -354,7 +354,7 @@ private:
tact_t m_length;
Track * m_trackToPlay;
Pattern* m_patternToPlay;
const Pattern* m_patternToPlay;
bool m_loopPattern;
double m_elapsedMilliSeconds;

View File

@@ -468,7 +468,7 @@ public:
int numOfTCOs();
TrackContentObject * getTCO( int _tco_num );
int getTCONum( TrackContentObject * _tco );
int getTCONum(const TrackContentObject* _tco );
const tcoVector & getTCOs() const
{