no need for a check, 
value = pConfig->getValueString(m_key).toDouble();
this is fine, because toDouble returns 0.0 if conversion fails,