aboutsummaryrefslogtreecommitdiff
path: root/tests/Task_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Task_test.cpp')
-rw-r--r--tests/Task_test.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/Task_test.cpp b/tests/Task_test.cpp
index 5bc73765..abc9be90 100644
--- a/tests/Task_test.cpp
+++ b/tests/Task_test.cpp
@@ -31,7 +31,7 @@ class BasicTask_MultiStep : public Task {
private:
auto isMultiStep() const -> bool override { return true; }
- void executeTask() override {}
+ void executeTask() override {}
};
class BigConcurrentTask : public ConcurrentTask {
@@ -66,7 +66,10 @@ class BigConcurrentTaskThread : public QThread {
}
connect(&big_task, &Task::finished, this, &QThread::quit);
- connect(&m_deadline, &QTimer::timeout, this, [&] { passed_the_deadline = true; quit(); });
+ connect(&m_deadline, &QTimer::timeout, this, [&] {
+ passed_the_deadline = true;
+ quit();
+ });
m_deadline.start();
big_task.run();