[aseprite] 117/308: Fix NewCustomBrushItem construction

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:44:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit fd8e8686d59e55419ef24ae14452e5723f69f2e5
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Dec 15 19:29:12 2015 -0300

    Fix NewCustomBrushItem construction
---
 src/app/ui/brush_popup.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/ui/brush_popup.cpp b/src/app/ui/brush_popup.cpp
index 4f205c7..a333d8d 100644
--- a/src/app/ui/brush_popup.cpp
+++ b/src/app/ui/brush_popup.cpp
@@ -277,7 +277,7 @@ void BrushPopup::regenerate(const gfx::Rect& box)
     m_customBrushes->addItem(new BrushOptionsItem(this, m_delegate, slot));
   }
 
-  m_customBrushes->addItem(new NewCustomBrushItem, 3, 1);
+  m_customBrushes->addItem(new NewCustomBrushItem(m_delegate), 3, 1);
   m_customBrushes->setExpansive(true);
   m_box.addChild(m_customBrushes);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list