summaryrefslogtreecommitdiffstats
path: root/kommander/widgets
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2020-08-27 19:48:01 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-28 20:54:25 +0900
commit155659674046c19b610d38cd2963628798add11d (patch)
tree9dbb4b553d33996ffc562ac8ab33533e7901087d /kommander/widgets
parentf3edeac1f13d71e8e12bdc713f1b8c7ad936b548 (diff)
downloadtdewebdev-155659674046c19b610d38cd2963628798add11d.tar.gz
tdewebdev-155659674046c19b610d38cd2963628798add11d.zip
Rename *OBJECT_NAME_STRING
Signed-off-by: ormorph <roma251078@mail.ru> (cherry picked from commit ae3ed3d32920f5780af51aad9683b82179e9655d)
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()));