summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_kmdi
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kscons_kmdi')
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp
index 8171c6b8..5bd6b949 100644
--- a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp
+++ b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp
@@ -31,7 +31,7 @@ void kmdikonsole::respawn()
if (!m_part) return;
- if (m_part->widget()->inherits("TQFrame"))
+ if (m_part->widget()->inherits(TQFRAME_OBJECT_NAME_STRING))
((TQFrame*)m_part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
m_haskonsole=true;