summaryrefslogtreecommitdiffstats
path: root/kexi/main/startup/KexiStartupDialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:43:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:03:28 +0900
commitd7ae9fb514226c126e04cfe4f34800beb9f4ea19 (patch)
tree4d12f786f3541b9ff0225f0ceb2bec0b9268a163 /kexi/main/startup/KexiStartupDialog.cpp
parentb727f4b3b1957bec28a350575237b93f8f278cdb (diff)
downloadkoffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.tar.gz
koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/main/startup/KexiStartupDialog.cpp')
-rw-r--r--kexi/main/startup/KexiStartupDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/main/startup/KexiStartupDialog.cpp b/kexi/main/startup/KexiStartupDialog.cpp
index 9f3e5de7..c738d192 100644
--- a/kexi/main/startup/KexiStartupDialog.cpp
+++ b/kexi/main/startup/KexiStartupDialog.cpp
@@ -658,7 +658,7 @@ bool KexiStartupDialog::eventFilter( TQObject *o, TQEvent *e )
{
if (o==d->templatesWidget_IconListBox && d->templatesWidget_IconListBox) {
if (e->type()==TQEvent::KeyPress
- && (TQT_TQKEYEVENT(e)->key()==Key_Enter || TQT_TQKEYEVENT(e)->key()==Key_Return)
+ && (static_cast<TQKeyEvent*>(e)->key()==Key_Enter || static_cast<TQKeyEvent*>(e)->key()==Key_Return)
|| e->type()==TQEvent::MouseButtonDblClick)
{
const int t_id = d->templatesWidget->activePageIndex();