summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 20:42:41 +0900
committerMichele Calgaro <[email protected]>2023-11-30 23:41:38 +0900
commitbc35a6b99d86cee227ab20fa3e15777e81f1a133 (patch)
tree3ffe6ebc837305d65a6ed2fdc95697f6597f91ef
parent79a5786988b46df28139cddaac36a196c53661e0 (diff)
downloadbibletime-bc35a6b99d86cee227ab20fa3e15777e81f1a133.tar.gz
bibletime-bc35a6b99d86cee227ab20fa3e15777e81f1a133.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit f1c0300a0afd4a33684d4781f4fde2670f89a322)
-rw-r--r--bibletime/frontend/keychooser/ckeychooserwidget.cpp2
1 files changed, 1 insertions, 1 deletions
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<TQFocusEvent*>(e);
if (o == lineEdit() && f->reason() == TQFocusEvent::Tab) {
int index = listBox()->index( listBox()->findItem(currentText()) );