Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clean
  • Loading branch information
pblottiere committed Mar 22, 2019
1 parent 10c02e7 commit 6028b70
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/server/qgsserverresponse.cpp
Expand Up @@ -27,8 +27,6 @@ void QgsServerResponse::write( const QString &data )
QIODevice *iodev = io();
if ( iodev )
{
//QTextStream stream( iodev );
//stream << data;
iodev->write( data.toUtf8() );
}
else
Expand All @@ -37,7 +35,6 @@ void QgsServerResponse::write( const QString &data )
}
}


qint64 QgsServerResponse::write( const QByteArray &byteArray )
{
QIODevice *iodev = io();
Expand All @@ -48,7 +45,6 @@ qint64 QgsServerResponse::write( const QByteArray &byteArray )
return 0;
}


qint64 QgsServerResponse::write( const char *data, qint64 maxsize )
{
QIODevice *iodev = io();
Expand Down Expand Up @@ -88,4 +84,3 @@ void QgsServerResponse::write( const QgsServerException &ex )
// log exception on server side too
QgsMessageLog::logMessage( ba, QStringLiteral( "Server" ), Qgis::Critical );
}

0 comments on commit 6028b70

Please sign in to comment.