Navigation Menu

Skip to content

Commit

Permalink
Tidy up a few debugging messages
Browse files Browse the repository at this point in the history
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 70419f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/gui/qgisapp.cpp
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsmaprender.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 70419f5

Please sign in to comment.