Commit 2cded3f6 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Remove a todo item

I've checked, the new code works correctly
parent ff5185d3
......@@ -104,7 +104,6 @@ void KisClipboardBrushWidget::slotUpdateUseColorAsMask(bool useColorAsMask)
if (m_brush) {
// TODO: test if it works correctly
static_cast<KisGbrBrush*>(>setBrushApplication(useColorAsMask ? ALPHAMASK : IMAGESTAMP);
int w = preview->size().width()-10;
preview->setPixmap(QPixmap::fromImage(m_brush->image().scaled(w, w, Qt::KeepAspectRatio)));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment