diff options
Diffstat (limited to 'chalk/ui/kis_view.cc')
-rw-r--r-- | chalk/ui/kis_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/kis_view.cc b/chalk/ui/kis_view.cc index e3500f97..0b288da5 100644 --- a/chalk/ui/kis_view.cc +++ b/chalk/ui/kis_view.cc @@ -2281,7 +2281,7 @@ void KisView::canvasGotButtonPressEvent(KisButtonPressEvent *e) // m_currentGuide = 0; // // if ((e->state() & ~TQt::ShiftButton) == Qt::NoButton) { -// KisGuideSP gd = mgr->tqfind(static_cast<TQ_INT32>(pt.x() / zoom()), static_cast<TQ_INT32>(pt.y() / zoom()), TQMAX(2.0, 2.0 / zoom())); +// KisGuideSP gd = mgr->find(static_cast<TQ_INT32>(pt.x() / zoom()), static_cast<TQ_INT32>(pt.y() / zoom()), TQMAX(2.0, 2.0 / zoom())); // // if (gd) { // m_currentGuide = gd; @@ -3544,7 +3544,7 @@ bool KisView::eventFilter(TQObject *o, TQEvent *e) mgr = img->guides(); if (e->type() == TQEvent::MouseMove && (me->state() & Qt::LeftButton)) { - bool flag = tqgeometry().tqcontains(pt); + bool flag = tqgeometry().contains(pt); KisGuideSP gd; if (m_currentGuide == 0 && flag) { |