Skip to content
Permalink
Browse files
Tidy up/remove some of the debugging stuff that gets printed at startup
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4962 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Mar 3, 2006
1 parent 717e13c commit 9fb302ebb2f83e0b8a1590b5d9104238bdd194c5
Showing with 2 additions and 3 deletions.
  1. +0 −3 src/gui/qgisapp.cpp
  2. +2 −0 src/gui/qgsmapcanvas.cpp
@@ -892,7 +892,6 @@ void QgisApp::createStatusBar()
QPixmap myProjPixmap;
QString myIconPath = QgsApplication::themePath();
myProjPixmap.load(myIconPath+"/mIconProjectionDisabled.png");
qDebug ("Icon disabled projection icon to: " + myIconPath.toLocal8Bit()+"/mIconProjectionDisabled.png");
mOnTheFlyProjectionStatusButton->setPixmap(myProjPixmap);
assert(!myProjPixmap.isNull());
QWhatsThis::add(mOnTheFlyProjectionStatusButton, tr("This icon shows whether on the fly projection is enabled or not. Click the icon to bring up the project properties dialog to alter this behaviour."));
@@ -4681,15 +4680,13 @@ void QgisApp::projectionsEnabled(bool theFlag)
{
QPixmap myProjPixmap;
myProjPixmap.load(myIconPath+"/mIconProjectionEnabled.png");
qDebug ("Icon disabled projection icon to: " + myIconPath.toLocal8Bit()+"/mIconProjectionEnabled.png");
assert(!myProjPixmap.isNull());
mOnTheFlyProjectionStatusButton->setPixmap(myProjPixmap);
}
else
{
QPixmap myProjPixmap;
myProjPixmap.load(myIconPath+"/mIconProjectionDisabled.png");
qDebug ("Icon disabled projection icon to: " + myIconPath.toLocal8Bit()+"/mIconProjectionDisabled.png");
assert(!myProjPixmap.isNull());
mOnTheFlyProjectionStatusButton->setPixmap(myProjPixmap);
}
@@ -1039,7 +1039,9 @@ void QgsMapCanvas::moveCanvasContents(bool reset)
QPoint pnt(0,0);
if (!reset)
pnt += mCanvasProperties->mouseLastXY - mCanvasProperties->rubberStartPoint;
#ifdef QGISDEWBUG
std::cout << "moveCanvasContents: pnt " << pnt.x() << "," << pnt.y() << std::endl;
#endif

mMap->setPanningOffset(pnt);

0 comments on commit 9fb302e

Please sign in to comment.