Skip to content

Commit 2e20e07

Browse files
committed
QString write() delegates to QByteArray write()
1 parent ea4ba5e commit 2e20e07

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/qhttpresponse.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,7 @@ void QHttpResponse::write(const QByteArray &data)
165165

166166
void QHttpResponse::write(const QString &data)
167167
{
168-
if(m_finished) {
169-
return;
170-
}
171-
172-
m_connection->write(data.toUtf8());
168+
write(data.toUtf8());
173169
}
174170

175171
void QHttpResponse::end(const QString &data)

0 commit comments

Comments
 (0)