summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectnewgeneral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/projectnewgeneral.cpp')
-rw-r--r--quanta/project/projectnewgeneral.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/project/projectnewgeneral.cpp b/quanta/project/projectnewgeneral.cpp
index ce9faf08..b845a40b 100644
--- a/quanta/project/projectnewgeneral.cpp
+++ b/quanta/project/projectnewgeneral.cpp
@@ -218,7 +218,7 @@ bool ProjectNewGeneral::eventFilter ( TQObject * watched, TQEvent * e )
{
if (e->type() == TQEvent::FocusOut)
{
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(linePrjTmpl))
+ if (watched == linePrjTmpl)
{
KURL url = baseUrl;
QuantaCommon::setUrl(url, linePrjTmpl->text());
@@ -231,7 +231,7 @@ bool ProjectNewGeneral::eventFilter ( TQObject * watched, TQEvent * e )
} else
emit enableNextButton(this, true);
} else
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(linePrjToolbar))
+ if (watched == linePrjToolbar)
{
KURL url = baseUrl;
QuantaCommon::setUrl(url, linePrjToolbar->text());