forked from qt-creator/qt-creator
		
	debugger: structural cleanup remote debugging
Use virtual function instead of if/qobject_cast cascades.
This commit is contained in:
		@@ -96,7 +96,7 @@ void RemoteGdbServerAdapter::startAdapter()
 | 
			
		||||
    }
 | 
			
		||||
    if (startParameters().serverStartScript.isEmpty()) {
 | 
			
		||||
        showMessage(_("No server start script given. "), StatusBar);
 | 
			
		||||
        emit requestSetup();
 | 
			
		||||
        m_engine->requestRemoteSetup();
 | 
			
		||||
    } else {
 | 
			
		||||
        m_uploadProc.start(_("/bin/sh ") + startParameters().serverStartScript);
 | 
			
		||||
        m_uploadProc.waitForStarted();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user