Skip to content

Commit

Permalink
Error messages should make sense...
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5069 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Mar 20, 2006
1 parent a050eeb commit 76b8c25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/qgsmaprender.cpp
Expand Up @@ -211,8 +211,9 @@ void QgsMapRender::render(QPainter* painter)
// passed into this function), as Qt produces a number of errors
// when try to do so. I'm (Gavin) not sure how to fix this, but
// added these comments and debug statement to help others...
std::cerr << "If there is a QPaintEngine here, it is caused by an emit "
"call just after line " << __LINE__ << " in file " << __FILE__ << ".\n";
std::cerr << "If there is a QPaintEngine error here, it is caused by an"
<< " emit call just after line " << __LINE__
<< " in file " << __FILE__ << ".\n";

emit setProgress(myRenderCounter++,layers.size());
QgsMapLayer *ml = QgsMapLayerRegistry::instance()->mapLayer(*li);
Expand Down

0 comments on commit 76b8c25

Please sign in to comment.