MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / addError

Method addError

syncthingwidgets/misc/internalerrorsdialog.cpp:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void InternalErrorsDialog::addError(InternalError &&newError)
75{
76 s_internalErrors.emplace_back(newError);
77 if (s_instance) {
78 s_instance->internalAddError(s_internalErrors.back());
79 s_instance->updateStatusLabel();
80 }
81}
82
83void InternalErrorsDialog::addError(const QString &message, const QUrl &url, const QByteArray &response)
84{

Callers

nothing calls this directly

Calls 2

internalAddErrorMethod · 0.80
updateStatusLabelMethod · 0.80

Tested by

no test coverage detected