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:07 +0900
commitf1c0300a0afd4a33684d4781f4fde2670f89a322 (patch)
treea4cbe56d646bf17dc9fee7736bced9457840900d
parentde0a4201d54e3da57c7634e87aa068c208b0d5bb (diff)
downloadbibletime-f1c0300a0afd4a33684d4781f4fde2670f89a322.tar.gz
bibletime-f1c0300a0afd4a33684d4781f4fde2670f89a322.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
-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()) );