mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T286, copy settings/cache improvements
* removed old copy component from wizard and setup component * using new copy component * reloading in hotkey component
This commit is contained in:
@@ -188,9 +188,16 @@ namespace BlackGui
|
||||
|
||||
bool CConfigHotkeyWizardPage::validatePage()
|
||||
{
|
||||
Q_ASSERT_X(m_config, Q_FUNC_INFO, "Missing configuration");
|
||||
if (CConfigurationWizard::lastWizardStepSkipped(this->wizard())) { return true; }
|
||||
m_config->saveSettings();
|
||||
return true;
|
||||
}
|
||||
|
||||
void CConfigHotkeyWizardPage::initializePage()
|
||||
{
|
||||
Q_ASSERT_X(m_config, Q_FUNC_INFO, "Missing configuration");
|
||||
m_config->reloadHotkeysFromSettings();
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user