summaryrefslogtreecommitdiffstats
path: root/parts/konsole/konsoleviewwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/konsole/konsoleviewwidget.cpp')
-rw-r--r--parts/konsole/konsoleviewwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parts/konsole/konsoleviewwidget.cpp b/parts/konsole/konsoleviewwidget.cpp
index 1604a321..cced1b88 100644
--- a/parts/konsole/konsoleviewwidget.cpp
+++ b/parts/konsole/konsoleviewwidget.cpp
@@ -62,7 +62,7 @@ void KonsoleViewWidget::activate()
setFocusProxy(part->widget());
part->widget()->setFocus();
- if (part->widget()->inherits("TQFrame"))
+ if (part->widget()->inherits(TQFRAME_OBJECT_NAME_STRING))
((TQFrame*)part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
vbox->addWidget(part->widget());