From 138bb80efac020c7e78871d3f05127eb37f18274 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2023 02:32:50 +0900 Subject: Replaced various '#define' with actual strings - part 4 Signed-off-by: Michele Calgaro --- tdecore/tdeapplication.cpp | 4 ++-- tdecore/twin.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdecore') diff --git a/tdecore/tdeapplication.cpp b/tdecore/tdeapplication.cpp index 069155850..de4ab2afc 100644 --- a/tdecore/tdeapplication.cpp +++ b/tdecore/tdeapplication.cpp @@ -567,7 +567,7 @@ bool TDEApplication::notify(TQObject *receiver, TQEvent *event) if ((t == TQEvent::AccelOverride) || (t == TQEvent::KeyPress)) { static const TDEShortcut& _selectAll = TDEStdAccel::selectAll(); - TQLineEdit *edit = ::tqqt_cast(receiver); + TQLineEdit *edit = ::tqt_cast(receiver); if (edit) { // We have a keypress for a lineedit... @@ -605,7 +605,7 @@ bool TDEApplication::notify(TQObject *receiver, TQEvent *event) } } - TQTextEdit *medit = ::tqqt_cast(receiver); + TQTextEdit *medit = ::tqt_cast(receiver); if (medit) { // We have a keypress for a multilineedit... diff --git a/tdecore/twin.cpp b/tdecore/twin.cpp index 7b59ef7d4..fc6358351 100644 --- a/tdecore/twin.cpp +++ b/tdecore/twin.cpp @@ -310,7 +310,7 @@ void KWin::setMainWindow( TQWidget* subwindow, WId mainwindow ) /* Grmbl. See TQDialog::show(). That should get fixed in Qt somehow. */ - if( tqqt_cast< TQDialog* >( subwindow ) != NULL + if( tqt_cast< TQDialog* >( subwindow ) != NULL && subwindow->parentWidget() == NULL && kapp->mainWidget() != NULL ) { -- cgit v1.2.1