From ae3ed3d32920f5780af51aad9683b82179e9655d Mon Sep 17 00:00:00 2001 From: ormorph Date: Thu, 27 Aug 2020 19:48:01 +0300 Subject: Rename *OBJECT_NAME_STRING Signed-off-by: ormorph --- kommander/widgets/closebutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kommander/widgets') 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())); -- cgit v1.2.1