aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/Wizard.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-03 13:43:55 +0000
committerSaturneric <[email protected]>2023-02-03 13:43:55 +0000
commit11d32517c2f6f538209c893c6b0b24572fba1a36 (patch)
tree0dac14bcad75d9c7c5b5723dc23e6409721966b4 /src/ui/dialog/Wizard.cpp
parentfeat: change logging framework to spdlog (diff)
downloadGpgFrontend-11d32517c2f6f538209c893c6b0b24572fba1a36.tar.gz
GpgFrontend-11d32517c2f6f538209c893c6b0b24572fba1a36.zip
feat: change the log style in source files
Diffstat (limited to 'src/ui/dialog/Wizard.cpp')
-rw-r--r--src/ui/dialog/Wizard.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/dialog/Wizard.cpp b/src/ui/dialog/Wizard.cpp
index 0f051874..1a18a0b3 100644
--- a/src/ui/dialog/Wizard.cpp
+++ b/src/ui/dialog/Wizard.cpp
@@ -52,7 +52,7 @@ Wizard::Wizard(QWidget* parent) : QWizard(parent) {
try {
next_page_id = settings.lookup("wizard.next_page");
} catch (...) {
- LOG(ERROR) << _("Setting Operation Error");
+ SPDLOG_ERROR("setting operation error");
}
setStartId(next_page_id);
@@ -60,7 +60,7 @@ Wizard::Wizard(QWidget* parent) : QWizard(parent) {
}
void Wizard::slot_wizard_accepted() {
- LOG(INFO) << _("Called");
+ SPDLOG_INFO("called");
// Don't show is mapped to show -> negation
try {
auto& settings = GlobalSettingStation::GetInstance().GetUISettings();
@@ -75,7 +75,7 @@ void Wizard::slot_wizard_accepted() {
}
GlobalSettingStation::GetInstance().SyncSettings();
} catch (...) {
- LOG(ERROR) << _("Setting Operation Error");
+ SPDLOG_ERROR("setting operation error");
}
if (field("openHelp").toBool()) {
emit SignalOpenHelp("docu.html#content");
@@ -223,7 +223,7 @@ KeyGenPage::KeyGenPage(QWidget* parent) : QWizardPage(parent) {
int KeyGenPage::nextId() const { return Wizard::Page_Conclusion; }
void KeyGenPage::slot_generate_key_dialog() {
- LOG(INFO) << "Try Opening KeyGenDialog";
+ SPDLOG_INFO("try opening KeyGenDialog");
(new KeyGenDialog(this))->show();
wizard()->next();
}