| 9 | |
| 10 | template <typename Value> |
| 11 | static std::function<void(std::optional<Value>)> wrapValueCallback(std::function<void(Value)> callback) |
| 12 | { |
| 13 | return [callback = std::move(callback)](std::optional<Value> input) { |
| 14 | if (input.has_value()) |
| 15 | callback(std::move(*input)); |
| 16 | }; |
| 17 | } |
| 18 | |
| 19 | void AsyncDialogs::getText( |
| 20 | QWidget* parent, |
no outgoing calls
no test coverage detected