1.0.19
This commit is contained in:
parent
520dbc77e2
commit
aa19203702
|
@ -512,11 +512,21 @@ typedef NTSTATUS (*P_NtImpersonateThread)(
|
|||
IN PSECURITY_QUALITY_OF_SERVICE SecurityQos);
|
||||
|
||||
typedef NTSTATUS (*P_NtCreateSymbolicLinkObject)(
|
||||
PHANDLE pHandle,
|
||||
PHANDLE SymbolicLinkHandle,
|
||||
ACCESS_MASK DesiredAccess,
|
||||
POBJECT_ATTRIBUTES ObjectAttributes,
|
||||
PUNICODE_STRING DestinationName);
|
||||
|
||||
typedef NTSTATUS (*P_NtOpenSymbolicLinkObject)(
|
||||
OUT PHANDLE SymbolicLinkHandle,
|
||||
IN ACCESS_MASK DesiredAccess,
|
||||
IN POBJECT_ATTRIBUTES ObjectAttributes);
|
||||
|
||||
typedef NTSTATUS (*P_NtQuerySymbolicLinkObject)(
|
||||
IN HANDLE SymbolicLinkHandle,
|
||||
IN OUT PUNICODE_STRING LinkTarget,
|
||||
OUT PULONG ReturnedLength);
|
||||
|
||||
typedef NTSTATUS (*P_NtLoadDriver)(
|
||||
IN PUNICODE_STRING RegistryPath);
|
||||
|
||||
|
|
|
@ -286,6 +286,8 @@ COptionsWindow::COptionsWindow(const QSharedPointer<CSbieIni>& pBox, const QStri
|
|||
|
||||
LoadConfig();
|
||||
|
||||
UpdateCurrentTab();
|
||||
|
||||
ui.buttonBox->button(QDialogButtonBox::Apply)->setEnabled(false);
|
||||
|
||||
ui.treeAccess->viewport()->installEventFilter(this);
|
||||
|
@ -658,7 +660,10 @@ void COptionsWindow::OnTab()
|
|||
|
||||
void COptionsWindow::UpdateCurrentTab()
|
||||
{
|
||||
if (ui.tabs->currentWidget() == ui.tabStart)
|
||||
if (ui.tabs->currentWidget() == ui.tabGeneral) {
|
||||
ui.chkVmRead->setChecked(GetAccessEntry(eIPC, "", eReadOnly, "$:*") != NULL);
|
||||
}
|
||||
else if (ui.tabs->currentWidget() == ui.tabStart)
|
||||
{
|
||||
if (GetAccessEntry(eIPC, "!<StartRunAccess>", eClosed, "*") != NULL)
|
||||
ui.radStartSelected->setChecked(true);
|
||||
|
|
Loading…
Reference in New Issue