HamedMasafi / Nut

Advanced, Powerful and easy to use ORM for Qt
GNU Lesser General Public License v3.0
294 stars 75 forks source link

notnull is handled wrong?! #5

Closed moritzsternemann closed 7 years ago

moritzsternemann commented 7 years ago

I noticed that the NUT_NOT_NULL macro doesn't work as it's supposed to. After some digging I found out that it's probably handled wrong in tablemodel.cpp#L228.

The statement should be

f->notNull = true;

right?