Fixed: Georges Editor Qt compilation under Linux

This commit is contained in:
kervala 2010-11-02 20:51:39 +01:00
parent ff46d7268c
commit bc1fed6c60
2 changed files with 10 additions and 4 deletions

View file

@ -24,7 +24,13 @@
// STL 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

View file

@ -48,12 +48,12 @@ namespace NLQT
int row() const;
CFormItem *parent();
bool setData(int column, const QVariant &value);
NLGEORGES::UFormElm* getFormElm() {return formElm;};
NLGEORGES::UFormElm::TWhereIsValue CFormItem::valueFrom()
NLGEORGES::UFormElm* getFormElm() {return formElm;}
NLGEORGES::UFormElm::TWhereIsValue valueFrom()
{
return whereV;
}
NLGEORGES::UFormElm::TWhereIsNode CFormItem::nodeFrom()
NLGEORGES::UFormElm::TWhereIsNode nodeFrom()
{
return whereN;
}