Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
ee10a9ca44
commit
6942c23895
@@ -113,7 +113,7 @@ void SoGLWidgetElement::pop(SoState * state, const SoElement * prevTopElement)
|
||||
|
||||
SbBool SoGLWidgetElement::matches(const SoElement * element) const
|
||||
{
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
SoElement * SoGLWidgetElement::copyMatchInfo(void) const
|
||||
@@ -168,7 +168,7 @@ void SoGLRenderActionElement::pop(SoState * state, const SoElement * prevTopElem
|
||||
|
||||
SbBool SoGLRenderActionElement::matches(const SoElement * element) const
|
||||
{
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
SoElement * SoGLRenderActionElement::copyMatchInfo(void) const
|
||||
|
||||
Reference in New Issue
Block a user