mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02: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;
|
break;
|
||||||
} else if (str == qstr("loadlang")) {
|
} else if (str == qstr("loadlang")) {
|
||||||
chooseCustomLang();
|
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;
|
break;
|
||||||
}
|
}
|
||||||
++from;
|
++from;
|
||||||
|
|
Loading…
Add table
Reference in a new issue