Minor: removed unused code.
This commit is contained in:
		@@ -78,12 +78,6 @@ Worker::Worker(int customerNr,
 | 
			
		||||
    this->setObjectName("worker-object");
 | 
			
		||||
    QDir::setCurrent(m_workingDirectory);
 | 
			
		||||
 | 
			
		||||
    // restart apism to make sure it is running ?
 | 
			
		||||
    // Command c("systemctl restart apism");
 | 
			
		||||
    // if (c.execute("/tmp")) {
 | 
			
		||||
    //     QThread::sleep(10); // give APISM some time to reconnect
 | 
			
		||||
    // }
 | 
			
		||||
 | 
			
		||||
    if (std::optional<QString> v = getApismVersion()) {
 | 
			
		||||
        m_apismVersion = v.value();
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user