Skip to content
Permalink
Browse files

fix lenny build

  • Loading branch information
jef-n committed Jul 4, 2011
1 parent 55a1778 commit a946a20f632bbce1a08f1eefdba83e2eb896e909
Showing with 8 additions and 2 deletions.
  1. +2 −0 src/app/composer/qgscomposer.cpp
  2. +6 −2 src/mapserver/qgswmsserver.cpp
@@ -508,7 +508,9 @@ class QgsPaintEngineHack : public QPaintEngine
// | QPaintEngine::PerspectiveTransform
| QPaintEngine::BlendModes
// | QPaintEngine::ObjectBoundingModeGradients
#if QT_VERSION >= 0x040500
| QPaintEngine::RasterOpModes
#endif
| QPaintEngine::PaintOutsidePaintEvent
);
}
@@ -209,13 +209,15 @@ QDomDocument QgsWMSServer::getCapabilities()
}
QgsDebugMsg( "layersAndStylesCapabilities returned" );

#if 0
//for debugging: save the document to disk
/*QFile capabilitiesFile( QDir::tempPath() + "/capabilities.txt" );
QFile capabilitiesFile( QDir::tempPath() + "/capabilities.txt" );
if ( capabilitiesFile.open( QIODevice::WriteOnly | QIODevice::Text ) )
{
QTextStream capabilitiesStream( &capabilitiesFile );
doc.save( capabilitiesStream, 4 );
}*/
}
#endif
return doc;
}

@@ -362,7 +364,9 @@ class QgsPaintEngineHack : public QPaintEngine
// | QPaintEngine::PerspectiveTransform
| QPaintEngine::BlendModes
// | QPaintEngine::ObjectBoundingModeGradients
#if QT_VERSION >= 0x040500
| QPaintEngine::RasterOpModes
#endif
| QPaintEngine::PaintOutsidePaintEvent
);
}

0 comments on commit a946a20

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