diff options
author | saturneric <[email protected]> | 2024-01-12 15:08:38 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-12 15:08:38 +0000 |
commit | 6983b5c1dd82d159236ebd06cf17f071cc9c1ee9 (patch) | |
tree | fc53f790e33546320b2ecd306a1a9ade6fbdfe7a /src/ui/UserInterfaceUtils.cpp | |
parent | fix: slove a heap-use-after-free issue (diff) | |
download | GpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.tar.gz GpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.zip |
refactor: remove boost and use QString instead of std::filesystem::path
Diffstat (limited to 'src/ui/UserInterfaceUtils.cpp')
-rw-r--r-- | src/ui/UserInterfaceUtils.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp index b6b1fa9e..2c353d19 100644 --- a/src/ui/UserInterfaceUtils.cpp +++ b/src/ui/UserInterfaceUtils.cpp @@ -32,7 +32,6 @@ #include <qdialog.h> #include <QtNetwork> -#include <boost/format/format_fwd.hpp> #include <string> #include <utility> #include <vector> @@ -276,8 +275,8 @@ void CommonUtils::RaiseFailureMessageBox(QWidget *parent, GpgError err) { QMessageBox::critical( parent, _("Failure"), - QString(_("Gpg Operation failed.\n\nError code: %1%\nSource: " - " %2%\nDescription: %3%")) + QString(_("Gpg Operation failed.\n\nError code: %1\nSource: " + " %2\nDescription: %3")) .arg(err_code) .arg(desc.first) .arg(desc.second)); |