#ifndef ASYNC_CALL_H #define ASYNC_CALL_H #include #include #include class DoricAsyncCall { public: static void ensureRunInThreadPool(QThreadPool *threadPool, std::function lambda) { QFuture::result_type> future = QtConcurrent::run(threadPool, lambda); } }; #endif // ASYNC_CALL_H