diff --git a/src/main.cpp b/src/main.cpp index f44dac6a6b..be05974400 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,8 +9,9 @@ #ifdef SENTRY_URL #include -#include #include + +#include #endif #include @@ -52,11 +53,11 @@ int main(int argc, char** argv) // This is also the default-path. For further information and recommendations: // https://docs.sentry.io/platforms/native/configuration/options/#database-path #if defined(__linux__) - const auto config_path = std::filesystem::path(std::getenv("HOME")).append( "/.local/share/cura/.sentry-native" ); + const auto config_path = std::filesystem::path(std::getenv("HOME")).append("/.local/share/cura/.sentry-native"); #elif defined(__APPLE__) && defined(__MACH__) - const auto config_path = std::filesystem::path(std::getenv("HOME")).append( "/Library/Application Support/cura/.sentry-native" ); + const auto config_path = std::filesystem::path(std::getenv("HOME")).append("/Library/Application Support/cura/.sentry-native"); #elif defined(_WIN64) - const auto config_path = std::filesystem::path(std::getenv("APPDATA")).append( "/cura/.sentry-native" ); + const auto config_path = std::filesystem::path(std::getenv("APPDATA")).append("/cura/.sentry-native"); #endif sentry_options_set_database_path(options, config_path.c_str()); sentry_options_set_release(options, fmt::format("curaengine@{}", CURA_ENGINE_VERSION).c_str());