mirror of https://github.com/procxx/kepka.git
added crashing in settings
This commit is contained in:
parent
b536c075ed
commit
ab00a0310a
|
@ -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…
Reference in New Issue