Extend getString().
This commit is contained in:
		@@ -112,8 +112,6 @@ QString const &ATBVMCPlugin::getLastErrorDescription() {
 | 
			
		||||
    return m_errorDescription;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// helpers e.g. for debug / log
 | 
			
		||||
QString const &ATBVMCPlugin::getString(RESULT_STATE resultState) {
 | 
			
		||||
    static QString str;
 | 
			
		||||
@@ -137,6 +135,15 @@ QString const &ATBVMCPlugin::getString(RESULT_STATE resultState) {
 | 
			
		||||
    case RESULT_STATE::INFO:
 | 
			
		||||
        str = QString("RESULT_STATE::INFO");
 | 
			
		||||
        break;
 | 
			
		||||
    case RESULT_STATE::ERROR_NETWORK:
 | 
			
		||||
        str = QString("RESULT_STATE::ERROR_NETWORK");
 | 
			
		||||
        break;
 | 
			
		||||
    case RESULT_STATE::ERROR_BUSY:
 | 
			
		||||
        str = QString("RESULT_STATE::ERROR_BUSY");
 | 
			
		||||
        break;
 | 
			
		||||
    case RESULT_STATE::ERROR_STATE:
 | 
			
		||||
        str = QString("RESULT_STATE::ERROR_STATE");
 | 
			
		||||
        break;
 | 
			
		||||
    }
 | 
			
		||||
    return str;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user