Implement global hook feature for Qt

This commit is contained in:
baldurk
2017-07-12 13:54:12 +01:00
parent bf220eed88
commit 0032a11fc2
9 changed files with 215 additions and 6 deletions
+8
View File
@@ -1587,6 +1587,14 @@ void MainWindow::closeEvent(QCloseEvent *event)
}
}
if(RENDERDOC_IsGlobalHookActive())
{
RDDialog::critical(this, tr("Global hook active"),
tr("Cannot close RenderDoc while global hook is active."));
event->ignore();
return;
}
if(!PromptCloseLog())
{
event->ignore();