diff --git a/src/sentry_wrapper/SentryWrapper.cpp b/src/sentry_wrapper/SentryWrapper.cpp index 2c82872950..03399d72d1 100644 --- a/src/sentry_wrapper/SentryWrapper.cpp +++ b/src/sentry_wrapper/SentryWrapper.cpp @@ -137,7 +137,7 @@ void initSentryEx() sentry_init(options); sentry_start_session(); - sentryReportLog(SENTRY_LOG_INFO, "init sentry successful", "initSentry module"); + } } diff --git a/src/slic3r/GUI/Preferences.cpp b/src/slic3r/GUI/Preferences.cpp index fd83224652..9f6da051dd 100644 --- a/src/slic3r/GUI/Preferences.cpp +++ b/src/slic3r/GUI/Preferences.cpp @@ -1020,10 +1020,6 @@ wxBoxSizer* PreferencesDialog::create_item_link_association(wxWindow* parent, wx PreferencesDialog::PreferencesDialog(wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos, const wxSize &size, long style) : DPIDialog(parent, id, _L("Preferences"), pos, size, style) { - wxPanel* pPanel = new wxPanel(); - delete pPanel; - delete pPanel; - SetBackgroundColour(*wxWHITE); create(); wxGetApp().UpdateDlgDarkUI(this);