summaryrefslogtreecommitdiffstats
path: root/tdeprint/tdeprintfax/faxctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/tdeprintfax/faxctrl.cpp')
-rw-r--r--tdeprint/tdeprintfax/faxctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeprint/tdeprintfax/faxctrl.cpp b/tdeprint/tdeprintfax/faxctrl.cpp
index 5ea6a65a2..90376ec2a 100644
--- a/tdeprint/tdeprintfax/faxctrl.cpp
+++ b/tdeprint/tdeprintfax/faxctrl.cpp
@@ -604,7 +604,7 @@ void FaxCtrl::slotCloseLog()
{
TQTextEdit *view = m_logview;
m_logview = 0;
- if (obj && obj->inherits(TQPUSHBUTTON_OBJECT_NAME_STRING))
+ if (obj && obj->inherits("TQPushButton"))
delete view->parentWidget();
kdDebug() << "slotClose()" << endl;
}