diff options
author | saturneric <[email protected]> | 2024-01-23 12:27:30 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-23 12:27:30 +0000 |
commit | 079b613d373c9ea317d49941728da146dad32356 (patch) | |
tree | a37a567cf27368f445b0365008e96c7a9ae958f1 /src/ui/widgets/KeyList.cpp | |
parent | fix: solve issues at i18n support (diff) | |
download | GpgFrontend-079b613d373c9ea317d49941728da146dad32356.tar.gz GpgFrontend-079b613d373c9ea317d49941728da146dad32356.zip |
feat: add a setting to enable gpgme debug log
Diffstat (limited to '')
-rw-r--r-- | src/ui/widgets/KeyList.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp index 58e53ae0..4fb883db 100644 --- a/src/ui/widgets/KeyList.cpp +++ b/src/ui/widgets/KeyList.cpp @@ -115,7 +115,7 @@ void KeyList::AddListGroupTab(const QString& name, const QString& id, KeyListRow::KeyType selectType, KeyListColumn::InfoType infoType, const KeyTable::KeyTableFilter filter) { - GF_UI_LOG_DEBUG("add tab: {}", name.toStdString()); + GF_UI_LOG_DEBUG("add list group tab: {}", name); auto* key_list = new QTableWidget(this); if (m_key_list_ == nullptr) { @@ -315,7 +315,7 @@ void KeyList::contextMenuEvent(QContextMenuEvent* event) { QString current_tab_widget_obj_name = ui_->keyGroupTab->widget(ui_->keyGroupTab->currentIndex())->objectName(); GF_UI_LOG_DEBUG("current tab widget object name: {}", - current_tab_widget_obj_name.toStdString()); + current_tab_widget_obj_name); if (current_tab_widget_obj_name == "favourite") { QList<QAction*> actions = popup_menu_->actions(); for (QAction* action : actions) { @@ -388,7 +388,7 @@ void KeyList::dropEvent(QDropEvent* event) { QFile file; file.setFileName(tmp.toLocalFile()); if (!file.open(QIODevice::ReadOnly)) { - GF_UI_LOG_ERROR("couldn't open file: {}", tmp.toString().toStdString()); + GF_UI_LOG_ERROR("couldn't open file: {}", tmp.toString()); } QByteArray in_buffer = file.readAll(); this->import_keys(in_buffer); |