From bc35a6b99d86cee227ab20fa3e15777e81f1a133 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 20:42:41 +0900 Subject: [PATCH] Replace 'Event' #define strings Signed-off-by: Michele Calgaro (cherry picked from commit f1c0300a0afd4a33684d4781f4fde2670f89a322) --- bibletime/frontend/keychooser/ckeychooserwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibletime/frontend/keychooser/ckeychooserwidget.cpp b/bibletime/frontend/keychooser/ckeychooserwidget.cpp index be41cec..c711cc0 100644 --- a/bibletime/frontend/keychooser/ckeychooserwidget.cpp +++ b/bibletime/frontend/keychooser/ckeychooserwidget.cpp @@ -41,7 +41,7 @@ CKCComboBox::CKCComboBox(bool rw,TQWidget* parent,const char* name) /** Reimplementation. */ bool CKCComboBox::eventFilter( TQObject *o, TQEvent *e ) { if (e->type() == TQEvent::FocusOut) { - TQFocusEvent* f = TQT_TQFOCUSEVENT(e); + TQFocusEvent* f = static_cast(e); if (o == lineEdit() && f->reason() == TQFocusEvent::Tab) { int index = listBox()->index( listBox()->findItem(currentText()) );