Remove some unused #includes / parameters
This commit is contained in:
parent
390ba9c036
commit
515e5638bf
|
@ -29,7 +29,6 @@
|
|||
#include "mpe/events.h"
|
||||
#include "engraving/types/types.h"
|
||||
|
||||
#include "internal/inotationundostack.h"
|
||||
#include "notationtypes.h"
|
||||
|
||||
namespace mu::notation {
|
||||
|
@ -38,7 +37,7 @@ class INotationPlayback
|
|||
public:
|
||||
virtual ~INotationPlayback() = default;
|
||||
|
||||
virtual void init(INotationUndoStackPtr undoStack) = 0;
|
||||
virtual void init() = 0;
|
||||
|
||||
virtual const engraving::InstrumentTrackId& metronomeTrackId() const = 0;
|
||||
virtual engraving::InstrumentTrackId chordSymbolsTrackId(const ID& partId) const = 0;
|
||||
|
|
|
@ -122,7 +122,7 @@ void MasterNotation::initAfterSettingScore(const MasterScore* score)
|
|||
updateExcerpts();
|
||||
});
|
||||
|
||||
m_notationPlayback->init(m_undoStack);
|
||||
m_notationPlayback->init();
|
||||
initExcerptNotations(score->excerpts());
|
||||
}
|
||||
|
||||
|
|
|
@ -24,9 +24,7 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "modularity/ioc.h"
|
||||
#include "types/retval.h"
|
||||
#include "project/types/projecttypes.h"
|
||||
#include "async/notification.h"
|
||||
|
||||
#include "notation.h"
|
||||
#include "../imasternotation.h"
|
||||
|
|
|
@ -62,9 +62,9 @@ mu::engraving::Score* NotationPlayback::score() const
|
|||
return m_getScore->score();
|
||||
}
|
||||
|
||||
void NotationPlayback::init(INotationUndoStackPtr undoStack)
|
||||
void NotationPlayback::init()
|
||||
{
|
||||
IF_ASSERT_FAILED(score() && undoStack) {
|
||||
IF_ASSERT_FAILED(score()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ class NotationPlayback : public INotationPlayback, public async::Asyncable
|
|||
public:
|
||||
NotationPlayback(IGetScore* getScore, async::Notification notationChanged);
|
||||
|
||||
void init(INotationUndoStackPtr undoStack) override;
|
||||
void init() override;
|
||||
|
||||
const engraving::InstrumentTrackId& metronomeTrackId() const override;
|
||||
engraving::InstrumentTrackId chordSymbolsTrackId(const ID& partId) const override;
|
||||
|
|
Loading…
Reference in a new issue