From d7ae9fb514226c126e04cfe4f34800beb9f4ea19 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 20:43:20 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- kexi/widget/tableview/kexicomboboxtableedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kexi/widget/tableview/kexicomboboxtableedit.cpp') diff --git a/kexi/widget/tableview/kexicomboboxtableedit.cpp b/kexi/widget/tableview/kexicomboboxtableedit.cpp index a818e40b..0ac9923e 100644 --- a/kexi/widget/tableview/kexicomboboxtableedit.cpp +++ b/kexi/widget/tableview/kexicomboboxtableedit.cpp @@ -348,7 +348,7 @@ int KexiComboBoxTableEdit::widthForValue( TQVariant &val, const TQFontMetrics &f bool KexiComboBoxTableEdit::eventFilter( TQObject *o, TQEvent *e ) { if (!column()->isReadOnly() && e->type()==TQEvent::MouseButtonPress && m_scrollView) { - TQPoint gp = TQT_TQMOUSEEVENT(e)->globalPos() + TQPoint gp = static_cast(e)->globalPos() + TQPoint(m_scrollView->childX(d->button), m_scrollView->childY(d->button)); TQRect r(d->button->mapToGlobal(d->button->geometry().topLeft()), d->button->mapToGlobal(d->button->geometry().bottomRight())); -- cgit v1.2.1