aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/GpgFrontendApplication.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-12 15:08:38 +0000
committersaturneric <[email protected]>2024-01-12 15:08:38 +0000
commit6983b5c1dd82d159236ebd06cf17f071cc9c1ee9 (patch)
treefc53f790e33546320b2ecd306a1a9ade6fbdfe7a /src/ui/GpgFrontendApplication.cpp
parentfix: slove a heap-use-after-free issue (diff)
downloadGpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.tar.gz
GpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.zip
refactor: remove boost and use QString instead of std::filesystem::path
Diffstat (limited to 'src/ui/GpgFrontendApplication.cpp')
-rw-r--r--src/ui/GpgFrontendApplication.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ui/GpgFrontendApplication.cpp b/src/ui/GpgFrontendApplication.cpp
index a4c4e2db..df59d0c6 100644
--- a/src/ui/GpgFrontendApplication.cpp
+++ b/src/ui/GpgFrontendApplication.cpp
@@ -29,7 +29,6 @@
#include "ui/GpgFrontendApplication.h"
#include <QTextCodec>
-#include <boost/stacktrace.hpp>
#include "GpgFrontendBuildInfo.h"
@@ -59,9 +58,6 @@ bool GpgFrontendApplication::notify(QObject *receiver, QEvent *event) {
return QApplication::notify(receiver, event);
} catch (const std::exception &ex) {
GF_UI_LOG_ERROR("exception was caught in notify: {}", ex.what());
- GF_UI_LOG_ERROR(
- "stacktrace of the exception: {}",
- boost::stacktrace::to_string(boost::stacktrace::stacktrace()));
QMessageBox::information(nullptr, _("Standard Exception Thrown"),
_("Oops, an standard exception was thrown "
"during the running of the "
@@ -70,9 +66,6 @@ bool GpgFrontendApplication::notify(QObject *receiver, QEvent *event) {
"please report this problem if you can."));
} catch (...) {
GF_UI_LOG_ERROR("unknown exception was caught in notify");
- GF_UI_LOG_ERROR(
- "stacktrace of the exception: {}",
- boost::stacktrace::to_string(boost::stacktrace::stacktrace()));
QMessageBox::information(
nullptr, _("Unhandled Exception Thrown"),
_("Oops, an unhandled exception was thrown "