Skip to content
Permalink
Browse files

Followup cce6c8b, fix Travis failures

  • Loading branch information
nyalldawson committed Jul 2, 2015
1 parent fcc51bc commit 5f233296a2054a6dae7d310c308ab0f18a808a1c
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/server/qgsserverstreamingdevice.cpp
@@ -31,7 +31,7 @@ QgsServerStreamingDevice::~QgsServerStreamingDevice()

bool QgsServerStreamingDevice::open( OpenMode mode )
{
if( !mRequestHandler || mode != QIODevice::WriteOnly )
if ( !mRequestHandler || mode != QIODevice::WriteOnly )
{
return false;
}
@@ -43,7 +43,7 @@ bool QgsServerStreamingDevice::open( OpenMode mode )

void QgsServerStreamingDevice::close()
{
QIODevice::close();
QIODevice::close();
}

qint64 QgsServerStreamingDevice::writeData( const char * data, qint64 maxSize )
@@ -55,5 +55,7 @@ qint64 QgsServerStreamingDevice::writeData( const char * data, qint64 maxSize )

qint64 QgsServerStreamingDevice::readData( char * data, qint64 maxSize )
{
Q_UNUSED( data );
Q_UNUSED( maxSize );
return -1; //reading not supported
}

0 comments on commit 5f23329

Please sign in to comment.
You can’t perform that action at this time.