Implement global hook feature for Qt

This commit is contained in:
baldurk committed 2017-07-12 13:54:12 +01:00
1 parent bf220eed88
commit 0032a11fc2
9 files changed
+215 -6

No files matched your search

+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();