mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
added crashing in settings
This commit is contained in:
parent
b536c075ed
commit
ab00a0310a
1 changed files with 3 additions and 1 deletions
|
@ -803,7 +803,9 @@ void SettingsInner::keyPressEvent(QKeyEvent *e) {
|
|||
break;
|
||||
} else if (str == qstr("loadlang")) {
|
||||
chooseCustomLang();
|
||||
} else if (qsl("debugmode").startsWith(str) || qsl("testmode").startsWith(str) || qsl("loadlang").startsWith(str)) {
|
||||
} else if (str == qstr("crashplease")) {
|
||||
t_assert(!"Crashed in Settings!");
|
||||
} else if (qsl("debugmode").startsWith(str) || qsl("testmode").startsWith(str) || qsl("loadlang").startsWith(str) || qsl("crashplease").startsWith(str)) {
|
||||
break;
|
||||
}
|
||||
++from;
|
||||
|
|
Loading…
Add table
Reference in a new issue