Replace default hotkey with Shift+Pause

This commit is contained in:
isaak654 2021-10-30 03:29:51 +02:00
parent 9fcfc4054e
commit 33d72d7793
No known key found for this signature in database
GPG Key ID: 59D402040437EC44
2 changed files with 2 additions and 2 deletions

View File

@ -1024,7 +1024,7 @@ void CSandMan::SetupHotKeys()
m_pHotkeyManager->unregisterAllHotkeys();
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)

View File

@ -217,7 +217,7 @@ void CSettingsWindow::LoadSettings()
ui.chkNotifyRecovery->setChecked(!theConf->GetBool("Options/InstantRecovery", true));
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));