summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/defaulttools/kis_tool_brush.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools/defaulttools/kis_tool_brush.cc')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_brush.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_brush.cc b/chalk/plugins/tools/defaulttools/kis_tool_brush.cc
index 86413587..7c83a36b 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_brush.cc
+++ b/chalk/plugins/tools/defaulttools/kis_tool_brush.cc
@@ -154,7 +154,7 @@ TQWidget* KisToolBrush::createOptionWidget(TQWidget* parent)
m_chkDirect->setChecked(true);
connect(m_chkDirect, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotSetPaintingMode(int)));
- m_optionLayout = new TQGridLayout(widget, 3, 2, 0, 6);
+ m_optionLayout = new TQGridLayout(NULL, 3, 2, 0, 6);
TQ_CHECK_PTR(m_optionLayout);
super::addOptionWidgetLayout(m_optionLayout);