mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Implement global hook feature for Qt
This commit is contained in:
@@ -89,6 +89,15 @@ SettingsDialog::SettingsDialog(ICaptureContext &ctx, QWidget *parent)
|
||||
ui->Formatter_NegExp->setValue(m_Ctx.Config().Formatter_NegExp);
|
||||
ui->Formatter_PosExp->setValue(m_Ctx.Config().Formatter_PosExp);
|
||||
|
||||
if(!RENDERDOC_CanGlobalHook())
|
||||
{
|
||||
ui->AllowGlobalHook->setEnabled(false);
|
||||
|
||||
QString disabledTooltip = tr("Global hooking is not supported on this platform");
|
||||
ui->AllowGlobalHook->setToolTip(disabledTooltip);
|
||||
ui->globalHookLabel->setToolTip(disabledTooltip);
|
||||
}
|
||||
|
||||
m_Init = false;
|
||||
|
||||
QObject::connect(ui->Formatter_MinFigures, OverloadedSlot<int>::of(&QSpinBox::valueChanged), this,
|
||||
|
||||
Reference in New Issue
Block a user