Skip to content

Commit

Permalink
replaced QList to std::vector
Browse files Browse the repository at this point in the history
codestyle
  • Loading branch information
mike-spa authored and vpereverzev committed Apr 14, 2022
1 parent ffae882 commit ff75767
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engraving/paint/debugpaint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void DebugPaint::paintElementDebug(mu::draw::Painter& painter, const Ms::Engravi
debugger->restorePenColor();
}

void DebugPaint::paintElementsDebug(mu::draw::Painter& painter, const QList<Ms::EngravingItem*>& elements)
void DebugPaint::paintElementsDebug(mu::draw::Painter& painter, const std::vector<Ms::EngravingItem*>& elements)
{
// Setup debug provider
auto originalProvider = painter.provider();
Expand Down
2 changes: 1 addition & 1 deletion src/engraving/paint/debugpaint.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class DebugPaint

public:
static void paintElementDebug(mu::draw::Painter& painter, const Ms::EngravingItem* element, std::shared_ptr<PaintDebugger>& debugger);
static void paintElementsDebug(mu::draw::Painter& painter, const QList<Ms::EngravingItem*>& elements);
static void paintElementsDebug(mu::draw::Painter& painter, const std::vector<Ms::EngravingItem*>& elements);

static void paintPageDebug(mu::draw::Painter& painter, const Ms::Page* page);
};
Expand Down

0 comments on commit ff75767

Please sign in to comment.