| 187 | } |
| 188 | |
| 189 | void ClientContext::NotifyAppWarningMessage(const QString& title, const QString& msg, std::function<void()>&& cbk) { |
| 190 | QMetaObject::invokeMethod(this, [=, this]() { |
| 191 | if (notify_manager_) { |
| 192 | notify_manager_->notify(NotifyItem{ |
| 193 | .type_ = NotifyItemType::kWarning, |
| 194 | .title_ = title, |
| 195 | .body_ = msg, |
| 196 | .cbk_ = cbk, |
| 197 | }); |
| 198 | } |
| 199 | }); |
| 200 | } |
| 201 | } |
no outgoing calls
no test coverage detected