forked from qt-creator/qt-creator
		
	debugger: move convienience function to DebuggerEngine base class
This commit is contained in:
		@@ -1422,7 +1422,7 @@ qint64 DebuggerEngine::inferiorPid() const
 | 
			
		||||
    return d->m_inferiorPid;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
DebuggerPlugin *DebuggerEngine::plugin() const
 | 
			
		||||
DebuggerPlugin *DebuggerEngine::plugin()
 | 
			
		||||
{
 | 
			
		||||
    return DebuggerPlugin::instance();
 | 
			
		||||
}
 | 
			
		||||
@@ -1475,6 +1475,12 @@ void DebuggerEngine::progressPing()
 | 
			
		||||
    d->m_progress.setProgressValue(qMin(70, progress + 1));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QMessageBox *DebuggerEngine::showMessageBox(int icon, const QString &title,
 | 
			
		||||
    const QString &text, int buttons)
 | 
			
		||||
{
 | 
			
		||||
    return plugin()->showMessageBox(icon, title, text, buttons);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace Internal
 | 
			
		||||
} // namespace Debugger
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user