summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/closebutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/closebutton.cpp')
-rw-r--r--kommander/widgets/closebutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kommander/widgets/closebutton.cpp b/kommander/widgets/closebutton.cpp
index d30a9346..9a9aa4f8 100644
--- a/kommander/widgets/closebutton.cpp
+++ b/kommander/widgets/closebutton.cpp
@@ -45,7 +45,7 @@ CloseButton::CloseButton(TQWidget* a_parent, const char* a_name)
while (parent->parent() != 0)
{
parent = parent->parent();
- if (parent->inherits("TQDialog"))
+ if (parent->inherits(TQDIALOG_OBJECT_NAME_STRING))
break;
}
connect(this, TQT_SIGNAL(clicked()), parent, TQT_SLOT(reject()));