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

Method NotifyAppWarningMessage

src/client/ct_client_context.cpp:189–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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}

Callers 3

RegisterBaseListenersMethod · 0.80
SubDisplayPanelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected