aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/thread/FileReadTask.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-17 19:08:53 +0000
committerSaturneric <[email protected]>2023-02-17 19:08:53 +0000
commitda1004ab71c382bde8af2b584e693426227abe0e (patch)
treea0166f4a5404f5b0d6944cc4a7cffecd3e2eaf86 /src/core/thread/FileReadTask.cpp
parentfix: solve command executor memory problem (diff)
downloadGpgFrontend-da1004ab71c382bde8af2b584e693426227abe0e.tar.gz
GpgFrontend-da1004ab71c382bde8af2b584e693426227abe0e.zip
feat: improve task execute system
Diffstat (limited to 'src/core/thread/FileReadTask.cpp')
-rw-r--r--src/core/thread/FileReadTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/thread/FileReadTask.cpp b/src/core/thread/FileReadTask.cpp
index 0f7d11c3..0888e029 100644
--- a/src/core/thread/FileReadTask.cpp
+++ b/src/core/thread/FileReadTask.cpp
@@ -28,7 +28,7 @@
namespace GpgFrontend::UI {
-FileReadTask::FileReadTask(std::string path) {
+FileReadTask::FileReadTask(std::string path) : Task("file_read_task") {
connect(this, &FileReadTask::SignalFileBytesReadNext, this,
&FileReadTask::read_bytes);