diff options
author | saturneric <[email protected]> | 2024-07-26 16:24:34 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-26 16:24:34 +0000 |
commit | 37a62a8d0b590710b902376ca3320cc05e954b63 (patch) | |
tree | 349ecff21e5cf53d8eedbae7886404417ecdad05 /src/ui/GpgFrontendApplication.cpp | |
parent | fix: correct urls at appdata.xml (diff) | |
download | GpgFrontend-37a62a8d0b590710b902376ca3320cc05e954b63.tar.gz GpgFrontend-37a62a8d0b590710b902376ca3320cc05e954b63.zip |
feat: remove spdlog and clean up log
Diffstat (limited to 'src/ui/GpgFrontendApplication.cpp')
-rw-r--r-- | src/ui/GpgFrontendApplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/GpgFrontendApplication.cpp b/src/ui/GpgFrontendApplication.cpp index 900d4735..3ee7ab7d 100644 --- a/src/ui/GpgFrontendApplication.cpp +++ b/src/ui/GpgFrontendApplication.cpp @@ -57,7 +57,7 @@ bool GpgFrontendApplication::notify(QObject *receiver, QEvent *event) { try { return QApplication::notify(receiver, event); } catch (const std::exception &ex) { - GF_UI_LOG_ERROR("exception was caught in notify: {}", ex.what()); + qCWarning(ui, "exception was caught in notify: {}", ex.what()); QMessageBox::information( nullptr, tr("Standard Exception Thrown"), tr("Oops, an standard exception was thrown " @@ -66,7 +66,7 @@ bool GpgFrontendApplication::notify(QObject *receiver, QEvent *event) { "be the negligence of the programmer, " "please report this problem if you can.")); } catch (...) { - GF_UI_LOG_ERROR("unknown exception was caught in notify"); + qCWarning(ui, "unknown exception was caught in notify"); QMessageBox::information( nullptr, tr("Unhandled Exception Thrown"), tr("Oops, an unhandled exception was thrown " |