Minor: save result in m_commandResult.
This commit is contained in:
		@@ -31,7 +31,8 @@ void Command::readyReadStandardOutput() {
 | 
			
		||||
    if (p) {
 | 
			
		||||
        QString s = p->readAllStandardOutput();
 | 
			
		||||
        if (m_verbose) {
 | 
			
		||||
            qCritical().noquote() << s;
 | 
			
		||||
//            qCritical().noquote() << s;
 | 
			
		||||
            m_commandResult += s;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -39,7 +40,9 @@ void Command::readyReadStandardOutput() {
 | 
			
		||||
void Command::readyReadStandardError() {
 | 
			
		||||
    QProcess *p = (QProcess *)sender();
 | 
			
		||||
    if (p) {
 | 
			
		||||
        qCritical().noquote() << p->readAllStandardError();
 | 
			
		||||
        QString s = p->readAllStandardError();
 | 
			
		||||
//        qCritical().noquote() << s;
 | 
			
		||||
        m_commandResult += s;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user