MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / NotifyAppErrMessage

Method NotifyAppErrMessage

src/client/ct_client_context.cpp:176–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 }
175
176 void ClientContext::NotifyAppErrMessage(const QString& title, const QString& msg, std::function<void()>&& cbk) {
177 QMetaObject::invokeMethod(this, [=, this]() {
178 if (notify_manager_) {
179 notify_manager_->notify(NotifyItem {
180 .type_ = NotifyItemType::kError,
181 .title_ = title,
182 .body_ = msg,
183 .cbk_ = cbk,
184 });
185 }
186 });
187 }
188
189 void ClientContext::NotifyAppWarningMessage(const QString& title, const QString& msg, std::function<void()>&& cbk) {
190 QMetaObject::invokeMethod(this, [=, this]() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected