succ=callGit();
if(!succ && m_verSys.contains("none"))
succ=callNoVer();
- if(!succ)
- qDebug()<<"Warning: unsuccessful in gathering version info. Tried:"<<m_verSys;
+ if(!succ){
+ qDebug()<<"Error: unsuccessful in gathering version info. Tried:"<<m_verSys;
+ qDebug()<<"Info: try to add 'none' (adds dummy data if nothing else is available) to ensure it runs.";
+ return false;
+ }
m_verInfo.insert("Comm",m_verComm);
m_verInfo.insert("NeedComm",m_verNeedComm);
m_verInfo.insert("HR",m_verHR);