Skip to content
Browse files

Remove an unnecessary debug message

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Apr 6, 2006
1 parent 7e20a19 commit d39e34d2d8fb9808cde2d33a3db18307164f9104
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/gui/qgsproject.cpp
@@ -912,9 +912,9 @@ static void _setCanvasExtent(QString const &canonicalMapCanvasName,

if (!theMapCanvas)
qDebug(("Unable to find canvas widget " + canonicalMapCanvasName).toLocal8Bit().data());

return; // XXX some sort of error value? Exception?
// Don't produce an error message here because _findMapCanvas
// does one already.
return; // XXX some sort of error value? Exception?

@@ -1125,8 +1125,9 @@ bool QgsProject::read()

// ensure that overview map canvas is set to *entire* extent
QgsRect mapCanvasFullExtent = _getFullExtent("theMapCanvas");
std::cerr <<__FILE__<<__LINE__<<'\n';
_setCanvasExtent("theOverviewCanvas", mapCanvasFullExtent);

std::cerr <<__FILE__<<__LINE__<<'\n';
// now restore the extent for the main canvas
_setCanvasExtent("theMapCanvas", savedExtent);

0 comments on commit d39e34d

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