MCPcopy Create free account
hub / github.com/bumptop/BumpTop / openTemporaryString

Method openTemporaryString

trunk/win/Source/BT_FileTransferManager.cpp:242–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242QString * FileTransfer::openTemporaryString()
243{
244 if (!_stringBuffer)
245 throw runtime_error("Expected string stream");
246 // if (_type == FileTransfer::Download)
247 {
248 _stringBuffer->clear();
249 }
250 return _stringBuffer;
251}
252
253void FileTransfer::clearTemporaryString()
254{

Callers 1

finishedReplyMethod · 0.80

Calls 2

runtime_errorClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected