style: reformat C/C++ sources and headers with clang-format
Run clang-format over all project C/C++ source and header files (.c, .cpp, .cc, .h, .hpp, .hh, .m, .mm) under app/ and tests/. Non-source files (svg, qm, qrc, etc.) were not touched.
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
|
||||
#include "task/taskmanager.h"
|
||||
|
||||
namespace {
|
||||
namespace
|
||||
{
|
||||
class DummyTask final : public olive::Task {
|
||||
public:
|
||||
explicit DummyTask(bool *ran)
|
||||
@@ -74,9 +75,8 @@ TEST(TaskManager, AddAndRunTask)
|
||||
DummyTask *task = new DummyTask(&ran);
|
||||
|
||||
QEventLoop loop;
|
||||
QObject::connect(task, &olive::Task::Finished, &loop, [&loop](olive::Task *, bool) {
|
||||
loop.quit();
|
||||
});
|
||||
QObject::connect(task, &olive::Task::Finished, &loop,
|
||||
[&loop](olive::Task *, bool) { loop.quit(); });
|
||||
|
||||
mgr->AddTask(task);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user