MCPcopy Create free account
hub / github.com/KDE/kdevelop / updateErrorText

Method updateErrorText

kdevplatform/debugger/interfaces/ibreakpointcontroller.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void IBreakpointController::updateErrorText(int row, const QString& errorText)
63{
64 breakpointModel()->updateErrorText(row, errorText);
65
66 if (errorText.isEmpty()) {
67 return;
68 }
69
70 auto* const errorNotification = new KNotification(QStringLiteral("BreakpointError"));
71 errorNotification->setText(errorText);
72 errorNotification->sendEvent();
73}
74
75void IBreakpointController::notifyHit(int row, const QString& msg)
76{

Callers

nothing calls this directly

Calls 3

breakpointModelFunction · 0.85
isEmptyMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected