From 5d6fa0caf6ef37c348404275ce7ec35454c87bd3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Aug 2014 22:41:02 +0900 Subject: Fixed warning messages when starting Chalk. This resolves bug 1976. --- chalk/plugins/tools/defaulttools/kis_tool_brush.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chalk/plugins/tools/defaulttools/kis_tool_brush.cc') 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); -- cgit v1.2.1