Replace default hotkey with Shift+Pause
This commit is contained in:
parent
9fcfc4054e
commit
33d72d7793
|
@ -1024,7 +1024,7 @@ void CSandMan::SetupHotKeys()
|
||||||
m_pHotkeyManager->unregisterAllHotkeys();
|
m_pHotkeyManager->unregisterAllHotkeys();
|
||||||
|
|
||||||
if (theConf->GetBool("Options/EnablePanicKey", false))
|
if (theConf->GetBool("Options/EnablePanicKey", false))
|
||||||
m_pHotkeyManager->registerHotkey(theConf->GetString("Options/PanicKeySequence", "Ctrl+Alt+Cancel"), HK_PANIC);
|
m_pHotkeyManager->registerHotkey(theConf->GetString("Options/PanicKeySequence", "Shift+Pause"), HK_PANIC);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSandMan::OnHotKey(size_t id)
|
void CSandMan::OnHotKey(size_t id)
|
||||||
|
|
|
@ -217,7 +217,7 @@ void CSettingsWindow::LoadSettings()
|
||||||
ui.chkNotifyRecovery->setChecked(!theConf->GetBool("Options/InstantRecovery", true));
|
ui.chkNotifyRecovery->setChecked(!theConf->GetBool("Options/InstantRecovery", true));
|
||||||
|
|
||||||
ui.chkPanic->setChecked(theConf->GetBool("Options/EnablePanicKey", false));
|
ui.chkPanic->setChecked(theConf->GetBool("Options/EnablePanicKey", false));
|
||||||
ui.keyPanic->setKeySequence(QKeySequence(theConf->GetString("Options/PanicKeySequence", "Ctrl+Alt+Cancel")));
|
ui.keyPanic->setKeySequence(QKeySequence(theConf->GetString("Options/PanicKeySequence", "Shift+Pause")));
|
||||||
|
|
||||||
ui.chkWatchConfig->setChecked(theConf->GetBool("Options/WatchIni", true));
|
ui.chkWatchConfig->setChecked(theConf->GetBool("Options/WatchIni", true));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue