summaryrefslogtreecommitdiffstats
path: root/kommander/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets')
-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 eeb2c79f..30426eb8 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_OBJECT_NAME_STRING))
+ if (parent->inherits("TQDialog"))
break;
}
connect(this, TQT_SIGNAL(clicked()), parent, TQT_SLOT(reject()));