Skip to content
Permalink
Browse files
Tidy up a few debugging messages
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5455 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed May 15, 2006
1 parent 03ff4b9 commit 70419f5fff763fb594a956b6f03077e3f7c0c7d1
Showing with 1 addition and 6 deletions.
  1. +0 −5 src/gui/qgisapp.cpp
  2. +1 −1 src/gui/qgsmaprender.cpp
@@ -3212,21 +3212,16 @@ void QgisApp::measureArea()

void QgisApp::attributeTable()
{
std::cerr << ">> = " << std::endl;
QgsMapLayer *layer = mMapLegend->currentLayer();
std::cerr << ">> = " << std::endl;
if (layer)
{
std::cerr << ">>> = " << std::endl;
layer->table();
std::cerr << ">>> = " << std::endl;
}
else
{
QMessageBox::information(this, tr("No Layer Selected"),
tr("To open an attribute table, you must select a layer in the legend"));
}
std::cerr << ">> = " << std::endl;
}

void QgisApp::deleteSelected()
@@ -185,7 +185,7 @@ void QgsMapRender::render(QPainter* painter)

if (mExtent.isEmpty())
{
QgsLogger::warning("empty extent... not rendering");
QgsLogger::debug("empty extent... not rendering");
return;
}

0 comments on commit 70419f5

Please sign in to comment.