In ModelTest.cpp:325ff it reads:
> While you can technically return a QVariant usually this is a sign of an bug in data()
Why is this? I normally return a QVariant() for data I do not have (e.g. if an item has no tooltip or icon, I return QVariant() for Qt::ToolTipRole and Qt::DecorationRole.
Is there something wrong or unusual about it?
Ralf