mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 20:13:24 -08:00
[Crash] Add lifecycle breadcrumbs for unattributable native crashes
Co-authored-by: sentry[bot] <39604003+sentry[bot]@users.noreply.github.com>
This commit is contained in:
parent
40ebd22549
commit
59db732abd
6 changed files with 61 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include "user_list_widget.h"
|
||||
|
||||
#include "../../../../client/crash/crash_reporter.h"
|
||||
#include "../../../../client/settings/cache_settings.h"
|
||||
#include "../../interface/pixel_map_generator.h"
|
||||
#include "../../interface/theme_manager.h"
|
||||
|
|
@ -1221,6 +1222,7 @@ void UserListWidget::processUserInfo(Section section, const ServerInfo_User &use
|
|||
|
||||
bool UserListWidget::deleteUser(const QString &userName)
|
||||
{
|
||||
CrashReporter::addBreadcrumb("users", "user list row removed");
|
||||
if (sectioned) {
|
||||
// The user may own several rows (one per section). Drop them all.
|
||||
bool removed = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue