summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/gui/container.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/gui/container.cpp b/src/common/gui/container.cpp
index b5917dc..7331be5 100644
--- a/src/common/gui/container.cpp
+++ b/src/common/gui/container.cpp
@@ -36,7 +36,7 @@ void Container::setFrame(Type type)
_type = type;
switch (type) {
case Flat:
- setMargin(parent() && parent()->inherits(TQTABWIDGET_OBJECT_NAME_STRING) ? 10 : 0);
+ setMargin(parent() && parent()->inherits("TQTabWidget") ? 10 : 0);
setFrameStyle(TQFrame::NoFrame);
break;
case Sunken: