StelPropertyMgr.cpp   StelPropertyMgr.cpp 
skipping to change at line 94 skipping to change at line 94
//react to the property changed event //react to the property changed event
connect(stelProp,SIGNAL(changed(QVariant)),this,SLOT(onStelPropChang ed(QVariant))); connect(stelProp,SIGNAL(changed(QVariant)),this,SLOT(onStelPropChang ed(QVariant)));
//check if the property is valid, crash otherwise //check if the property is valid, crash otherwise
//this may reveal if a qRegisterMetaType or similar is needed //this may reveal if a qRegisterMetaType or similar is needed
QVariant value = stelProp->getValue(); QVariant value = stelProp->getValue();
if(!value.isValid()) if(!value.isValid())
qFatal("StelProperty %s can not be read. Missing READ or nee d to register MetaType?",id.toUtf8().constData()); qFatal("StelProperty %s can not be read. Missing READ or nee d to register MetaType?",id.toUtf8().constData());
#ifndef NDEBUG #if 0
QString debugStr=(stelProp->isReadOnly()?"readonly":"readwrite"); QString debugStr=(stelProp->isReadOnly()?"readonly":"readwrite");
if(stelProp->canNotify()) if(stelProp->canNotify())
debugStr.append(" notify"); debugStr.append(" notify");
qDebug()<<"StelProperty"<<id<<"registered, properties:"<<debugStr<<" , value:"<<value; qDebug()<<"StelProperty"<<id<<"registered, properties:"<<debugStr<<" , value:"<<value;
#endif #endif
propMap.insert(id,stelProp); propMap.insert(id,stelProp);
return stelProp; return stelProp;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/