diff options
author | saturneric <[email protected]> | 2023-10-28 18:46:15 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-10-28 18:46:15 +0000 |
commit | fd46d4667611c0db9cea3f06205727399b6fb5fd (patch) | |
tree | 8755059620d00d1690673d963cd0d913df92ae1c /src/ui/UserInterfaceUtils.cpp | |
parent | feat: introduce clang-tidy config and modify clang-format config (diff) | |
download | GpgFrontend-fd46d4667611c0db9cea3f06205727399b6fb5fd.tar.gz GpgFrontend-fd46d4667611c0db9cea3f06205727399b6fb5fd.zip |
refactor: start to tidy up code using clang-tidy
Diffstat (limited to 'src/ui/UserInterfaceUtils.cpp')
-rw-r--r-- | src/ui/UserInterfaceUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp index 5b92ffc0..1cdb1267 100644 --- a/src/ui/UserInterfaceUtils.cpp +++ b/src/ui/UserInterfaceUtils.cpp @@ -120,7 +120,7 @@ void process_result_analyse(TextEdit *edit, InfoBoardWidget *info_board, void process_operation(QWidget *parent, const std::string &waiting_title, const Thread::Task::TaskRunnable func, const Thread::Task::TaskCallback callback, - Thread::DataObjectPtr data_object) { + DataObjectPtr data_object) { auto *dialog = new WaitingDialog(QString::fromStdString(waiting_title), parent); @@ -437,7 +437,7 @@ void CommonUtils::SlotImportKeyFromKeyServer( void CommonUtils::slot_update_key_status() { auto refresh_task = new Thread::Task( - [](Thread::DataObjectPtr) -> int { + [](DataObjectPtr) -> int { // flush key cache for all GpgKeyGetter Intances. for (const auto &channel_id : GpgKeyGetter::GetAllChannelId()) { GpgKeyGetter::GetInstance(channel_id).FlushKeyCache(); |