diff options
Diffstat (limited to 'kexi/widget/tableview/kexitableview.cpp')
-rw-r--r-- | kexi/widget/tableview/kexitableview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/tableview/kexitableview.cpp b/kexi/widget/tableview/kexitableview.cpp index 9fc319ff..d164f68a 100644 --- a/kexi/widget/tableview/kexitableview.cpp +++ b/kexi/widget/tableview/kexitableview.cpp @@ -1037,7 +1037,7 @@ void KexiTableView::contentsMousePressEvent( TQMouseEvent* e ) s = TQMIN( columnWidth(m_curCol)-3, s ); //avoid too large box const TQRect r( columnPos(m_curCol) + TQMAX( columnWidth(m_curCol)/2 - s/2, 0 ), rowPos(m_curRow) +d->rowHeight/2 - s/2 /*- 1*/, s, s); //kexidbg << r << endl; - if (r.tqcontains(e->pos())) { + if (r.contains(e->pos())) { // kexidbg << "e->x:" << e->x() << " e->y:" << e->y() << " " << rowPos(m_curRow) << // " " << columnPos(m_curCol) << endl; boolToggled(); @@ -2040,7 +2040,7 @@ void KexiTableView::removeEditor() void KexiTableView::slotRowRepaintRequested(KexiTableItem& item) { - updateRow( m_data->tqfindRef(&item) ); + updateRow( m_data->findRef(&item) ); } //(js) unused |