Fixed: Georges Editor Qt compilation under Linux
This commit is contained in:
parent
ef7ad7daa5
commit
839148e120
2 changed files with 10 additions and 4 deletions
|
@ -24,7 +24,13 @@
|
||||||
// STL includes
|
// STL includes
|
||||||
|
|
||||||
// NeL includes
|
// NeL includes
|
||||||
#include <nel/misc/debug.h>
|
#ifdef NL_COMP_GCC
|
||||||
|
// temporary fix for GCC 4.4 segmentation fault
|
||||||
|
# undef nlassert
|
||||||
|
# define nlassert(x)
|
||||||
|
#else
|
||||||
|
# include <nel/misc/debug.h>
|
||||||
|
#endif // NL_COMP_GCC
|
||||||
|
|
||||||
// Project includes
|
// Project includes
|
||||||
|
|
||||||
|
|
|
@ -48,12 +48,12 @@ namespace NLQT
|
||||||
int row() const;
|
int row() const;
|
||||||
CFormItem *parent();
|
CFormItem *parent();
|
||||||
bool setData(int column, const QVariant &value);
|
bool setData(int column, const QVariant &value);
|
||||||
NLGEORGES::UFormElm* getFormElm() {return formElm;};
|
NLGEORGES::UFormElm* getFormElm() {return formElm;}
|
||||||
NLGEORGES::UFormElm::TWhereIsValue CFormItem::valueFrom()
|
NLGEORGES::UFormElm::TWhereIsValue valueFrom()
|
||||||
{
|
{
|
||||||
return whereV;
|
return whereV;
|
||||||
}
|
}
|
||||||
NLGEORGES::UFormElm::TWhereIsNode CFormItem::nodeFrom()
|
NLGEORGES::UFormElm::TWhereIsNode nodeFrom()
|
||||||
{
|
{
|
||||||
return whereN;
|
return whereN;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue