diff options
author | saturneric <[email protected]> | 2023-10-25 10:26:26 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-10-25 10:26:26 +0000 |
commit | 124929609eabff19359caad276a10f1026793c0f (patch) | |
tree | c743376267928e60291b4f14bd78bd2b76f955c7 /src/ui/thread/KeyServerImportTask.cpp | |
parent | feat: use rt listen publish event function in main windows' app version upgra... (diff) | |
download | GpgFrontend-124929609eabff19359caad276a10f1026793c0f.tar.gz GpgFrontend-124929609eabff19359caad276a10f1026793c0f.zip |
fix: solve some code tidy issues
Diffstat (limited to 'src/ui/thread/KeyServerImportTask.cpp')
-rw-r--r-- | src/ui/thread/KeyServerImportTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/thread/KeyServerImportTask.cpp b/src/ui/thread/KeyServerImportTask.cpp index 99e662af..1f9b1b92 100644 --- a/src/ui/thread/KeyServerImportTask.cpp +++ b/src/ui/thread/KeyServerImportTask.cpp @@ -61,7 +61,7 @@ void GpgFrontend::UI::KeyServerImportTask::dealing_reply_from_server() { } emit SignalKeyServerImportResult(network_reply, buffer); - if (result_count_++ == keyids_.size() - 1) { + if (static_cast<size_t>(result_count_++) == keyids_.size() - 1) { emit SignalTaskShouldEnd(0); } }
\ No newline at end of file |