Skip to content

Commit

Permalink
Removed redundant setAA override from brushtool, as this tool no long…
Browse files Browse the repository at this point in the history
…er has togglable AA.
  • Loading branch information
nickbetsworth committed Oct 3, 2019
1 parent e64fda6 commit f32a464
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions core_lib/src/tool/brushtool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,6 @@ void BrushTool::setStabilizerLevel(const int level)
settings.sync();
}

void BrushTool::setAA(const int AA)
{
// Set current property
properties.useAA = AA;

// Update settings
QSettings settings(PENCIL2D, PENCIL2D);
settings.setValue("brushAA", AA);
settings.sync();
}

QCursor BrushTool::cursor()
{
if (mEditor->preference()->isOn(SETTING::TOOL_CURSOR))
Expand Down
1 change: 0 additions & 1 deletion core_lib/src/tool/brushtool.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class BrushTool : public StrokeTool
void setFeather(const qreal feather) override;
void setPressure(const bool pressure) override;
void setInvisibility(const bool invisibility) override;
void setAA(const int useAA) override;
void setStabilizerLevel(const int level) override;

protected:
Expand Down

0 comments on commit f32a464

Please sign in to comment.