Skip to content
Permalink
Browse files

Error messages should make sense...

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5069 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Mar 20, 2006
1 parent a050eeb commit 76b8c2527c6954c43bcc421e8ddd9164547a19e3
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/gui/qgsmaprender.cpp
@@ -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);

0 comments on commit 76b8c25

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