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>
(cherry picked from commit 555b487d07)
r14.1.x
Michele Calgaro 1 year ago
parent 364f9b9e9c
commit 746d32a171
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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:

Loading…
Cancel
Save