Skip to content

Commit

Permalink
commented temporary files for debug
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@4804 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Feb 6, 2006
1 parent 36993d7 commit cd60c49
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -401,12 +401,12 @@ QImage* QgsWmsProvider::draw(QgsRect const & viewExtent, int pixelWidth, int pi
#endif

#ifdef QGISDEBUG
QFile file( "/tmp/qgis-wmsprovider-draw-raw.png" );
if ( file.open( QIODevice::WriteOnly ) )
{
file.writeBlock(imagesource);
file.close();
}
//QFile file( "/tmp/qgis-wmsprovider-draw-raw.png" );
//if ( file.open( QIODevice::WriteOnly ) )
//{
// file.writeBlock(imagesource);
// file.close();
//}
#endif

// Load into the final QImage.
Expand Down Expand Up @@ -566,12 +566,12 @@ void QgsWmsProvider::parseCapabilities(QByteArray const & xml, QgsWmsCapabiliti
QString responsestring(xml);
qWarning("QgsWmsProvider::parseCapabilities, received the following data: "+responsestring);

QFile file( "/tmp/qgis-wmsprovider-capabilities.xml" );
if ( file.open( QIODevice::WriteOnly ) )
{
file.writeBlock(xml);
file.close();
}
//QFile file( "/tmp/qgis-wmsprovider-capabilities.xml" );
//if ( file.open( QIODevice::WriteOnly ) )
//{
// file.writeBlock(xml);
// file.close();
//}
#endif

// Convert completed document into a DOM
Expand Down

0 comments on commit cd60c49

Please sign in to comment.