| 240 | } |
| 241 | |
| 242 | QString * 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 | |
| 253 | void FileTransfer::clearTemporaryString() |
| 254 | { |
no test coverage detected