diff options
Diffstat (limited to 'chalk/plugins/tools/tool_curves/kis_tool_moutline.cc')
-rw-r--r-- | chalk/plugins/tools/tool_curves/kis_tool_moutline.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc index 42806771..b8d221ea 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc @@ -22,7 +22,7 @@ #include <set> #include <tqpainter.h> -#include <tqlayout.h> +#include <layout.h> #include <tqrect.h> #include <tqlabel.h> #include <tqpushbutton.h> @@ -762,7 +762,7 @@ void KisToolMagnetic::slotSetDistance (int dist) TQWidget* KisToolMagnetic::createOptionWidget(TQWidget* parent) { m_optWidget = super::createOptionWidget(parent); - TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->tqlayout()); + TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout()); TQGridLayout *box = new TQGridLayout(l, 2, 2, 3); box->setColStretch(0, 1); box->setColStretch(1, 1); |