#include "lambdaqrunnable.h" LambdaQRunnable::LambdaQRunnable(std::function action) { this->action = action; } void LambdaQRunnable::run() { action(); }