MCPcopy Create free account
hub / github.com/KDAB/GammaRay / sendServerLaunchError

Method sendServerLaunchError

core/probesettings.cpp:169–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void ProbeSettingsReceiver::sendServerLaunchError(const QString &reason)
170{
171 if (!m_socket || m_socket->state() != QLocalSocket::ConnectedState)
172 return;
173
174 Message msg(Protocol::LauncherAddress, Protocol::ServerLaunchError);
175 msg << reason;
176 msg.write(m_socket);
177
178 waitForBytesWritten(*m_socket);
179 m_socket->close();
180
181 deleteLater();
182 s_probeSettings()->receiver = nullptr;
183 thread()->quit();
184}
185
186void ProbeSettingsReceiver::settingsReceivedFallback()
187{

Callers

nothing calls this directly

Calls 3

waitForBytesWrittenFunction · 0.85
writeMethod · 0.80
closeMethod · 0.80

Tested by

no test coverage detected