Skip to content

Commit

Permalink
Fix some indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchcurtis committed Nov 23, 2018
1 parent d9e2481 commit a445919
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/applypixellinecommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Q_LOGGING_CATEGORY(lcApplyPixelLineCommand, "app.undo.applyPixelLineCommand")
// The undo command for lines needs the project image before and after
// the line was drawn on it.
ApplyPixelLineCommand::ApplyPixelLineCommand(ImageCanvas *canvas, int layerIndex, QImage &currentProjectImage, const QPointF point1, const QPointF point2,
const QPointF &newLastPixelPenReleaseScenePos, const QPointF &oldLastPixelPenReleaseScenePos,
const QPainter::CompositionMode mode, QUndoCommand *parent) :
const QPointF &newLastPixelPenReleaseScenePos, const QPointF &oldLastPixelPenReleaseScenePos,
const QPainter::CompositionMode mode, QUndoCommand *parent) :
QUndoCommand(parent),
mCanvas(canvas),
mLayerIndex(layerIndex),
Expand Down
4 changes: 2 additions & 2 deletions lib/applypixellinecommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class SLATE_EXPORT ApplyPixelLineCommand : public QUndoCommand
{
public:
ApplyPixelLineCommand(ImageCanvas *canvas, int layerIndex, QImage &currentProjectImage, const QPointF point1, const QPointF point2,
const QPointF &newLastPixelPenReleaseScenePos, const QPointF &oldLastPixelPenReleaseScenePos,
const QPainter::CompositionMode mode, QUndoCommand *parent = nullptr);
const QPointF &newLastPixelPenReleaseScenePos, const QPointF &oldLastPixelPenReleaseScenePos,
const QPainter::CompositionMode mode, QUndoCommand *parent = nullptr);
~ApplyPixelLineCommand();

void undo() override;
Expand Down

0 comments on commit a445919

Please sign in to comment.