mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
force crash on account settings opening
This commit is contained in:
parent
f405754e24
commit
031e47a5ce
3 changed files with 10 additions and 0 deletions
|
|
@ -39,6 +39,7 @@
|
|||
#include "tool/providers/AvatarProvider.hpp"
|
||||
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <QClipboard>
|
||||
#include <QCryptographicHash>
|
||||
|
|
@ -2287,3 +2288,7 @@ bool Utils::stringMatchFormat(QString toMatch, QRegularExpression regExp) {
|
|||
auto match = regExp.match(toMatch);
|
||||
return match.hasMatch();
|
||||
}
|
||||
|
||||
void Utils::forceCrash() {
|
||||
raise(SIGSEGV);
|
||||
}
|
||||
|
|
@ -189,6 +189,9 @@ public:
|
|||
|
||||
Q_INVOKABLE static bool stringMatchFormat(QString toMatch, QRegularExpression regExp);
|
||||
|
||||
// DEBUG
|
||||
Q_INVOKABLE static void forceCrash();
|
||||
|
||||
// QDir findDirectoryByName(QString startPath, QString name);
|
||||
|
||||
static QString getApplicationProduct();
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ AbstractSettingsLayout {
|
|||
}
|
||||
]
|
||||
|
||||
Component.onCompleted: UtilsCpp.forceCrash()
|
||||
|
||||
property alias account: mainItem.model
|
||||
|
||||
// Account parameters
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue