mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-28 08:22:31 +00:00
added crashing in settings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user