diff options
Diffstat (limited to 'chalk/plugins/tools/defaulttools')
| -rw-r--r-- | chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cc | 2 | ||||
| -rw-r--r-- | chalk/plugins/tools/defaulttools/kis_tool_fill.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cc b/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cc index 32dbcf9d2..b238e746d 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cc @@ -104,7 +104,7 @@ void KisToolColorPicker::buttonPress(KisButtonPressEvent *e) TQPoint pos = TQPoint(e->pos().floorX(), e->pos().floorY()); - if (!img->bounds().tqcontains(pos)) { + if (!img->bounds().contains(pos)) { return; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_fill.cc b/chalk/plugins/tools/defaulttools/kis_tool_fill.cc index 1e2b82c5f..5a919771d 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_fill.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_fill.cc @@ -151,7 +151,7 @@ void KisToolFill::buttonRelease(KisButtonReleaseEvent *e) int x, y; x = m_startPos.floorX(); y = m_startPos.floorY(); - if (!m_currentImage->bounds().tqcontains(x, y)) { + if (!m_currentImage->bounds().contains(x, y)) { return; } flood(x, y); |
