diff --git a/src/libs/vmisc/crashhandler/crashhandler.cpp b/src/libs/vmisc/crashhandler/crashhandler.cpp index 4f120544e..993cc61e2 100644 --- a/src/libs/vmisc/crashhandler/crashhandler.cpp +++ b/src/libs/vmisc/crashhandler/crashhandler.cpp @@ -213,10 +213,7 @@ auto InitializeCrashpad(const QString &appName) -> bool // Attachments to be uploaded alongside the crash - default bundle size limit is 20MB std::vector attachments; base::FilePath const attachment(VCrashPaths::GetPlatformString(VCrashPaths::GetAttachmentPath(appName))); -#if defined(Q_OS_WINDOWS) || defined(Q_OS_LINUX) - // Crashpad hasn't implemented attachments on OS X yet attachments.push_back(attachment); -#endif // Ensure that crashpad_handler is shipped with your application base::FilePath const handler(VCrashPaths::GetPlatformString(crashpadPaths.GetHandlerPath()));