Debugger: Expose mainWindow to other plugins

Needed by GammaRay integration when merging the modes.

Change-Id: I21ee65c55e242238ab0be244c4bb40f1c9c7924e
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
hjk
2016-05-12 13:55:34 +02:00
parent dee7ad3806
commit dd5e145d34
2 changed files with 6 additions and 0 deletions

View File

@@ -3602,6 +3602,11 @@ void runAction(Id actionId)
desc.startTool();
}
QWidget *mainWindow()
{
return dd->m_mainWindow;
}
void enableMainWindow(bool on)
{
dd->m_mainWindow->setEnabled(on);