summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 20:48:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 20:48:12 +0900
commit555b487d07ce782bdd97fb0ea0c4a9bd15ee6baf (patch)
tree17173f85d2c2983311f11417aca64e7d413227cb /src
parent364f9b9e9cedffdcc88264eabba61b1f4ea7a771 (diff)
downloadpiklab-555b487d07ce782bdd97fb0ea0c4a9bd15ee6baf.tar.gz
piklab-555b487d07ce782bdd97fb0ea0c4a9bd15ee6baf.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-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: