Update SetupWizard
This commit is contained in:
parent
d0ece79771
commit
f3a880ede6
|
@ -86,6 +86,9 @@ bool CSetupWizard::ShowWizard(int iOldLevel)
|
|||
if (wizard.field("useBrowserIcon").toBool())
|
||||
CSettingsWindow::AddBrowserIcon();
|
||||
|
||||
if (wizard.field("editAdminOnly").toBool())
|
||||
theConf->SetValue("Options/EditAdminOnly", 1);
|
||||
|
||||
//if (wizard.field("useWFP").toBool()) {
|
||||
// theAPI->GetGlobalSettings()->SetBool("NetworkEnableWFP", true);
|
||||
// theAPI->ReloadConfig(true);
|
||||
|
@ -518,6 +521,11 @@ CShellPage::CShellPage(QWidget *parent)
|
|||
layout->addWidget(m_pBrowserIcon);
|
||||
registerField("useBrowserIcon", m_pBrowserIcon);
|
||||
|
||||
m_pEditOnlyAdmin = new QCheckBox(tr("Only applications with administrator token can change ini setting."));
|
||||
m_pEditOnlyAdmin->setChecked(false);
|
||||
layout->addWidget(m_pEditOnlyAdmin);
|
||||
registerField("editAdminOnly", m_pEditOnlyAdmin);
|
||||
|
||||
setLayout(layout);
|
||||
}
|
||||
|
||||
|
|
|
@ -119,6 +119,7 @@ private:
|
|||
QCheckBox *m_pAutoStart;
|
||||
QCheckBox *m_pContecxtMenu;
|
||||
QCheckBox *m_pBrowserIcon;
|
||||
QCheckBox* m_pEditOnlyAdmin;
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue