Revision 6be60ddf
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
src/entityinstancefactory.cpp | ||
---|---|---|
if(!e) {
|
||
e = qobject_cast<Entity *>(metaObject->newInstance());
|
||
qDebug() << "Backup method for dynamic object creation was called. Maybe the class " +
|
||
metaObject->className()+"isn't registered?";
|
||
QString(metaObject->className()) + " isn't registered?";
|
||
}
|
||
} else {
|
||
void *newObj = QMetaType::create(metaTypeId);
|
Auch abrufbar als: Unified diff
bugfixxes