Skip to content

Commit 45a885f

Browse files
author
g_j_m
committed
Tidy up/remove some of the debugging stuff that gets printed at startup
git-svn-id: http://svn.osgeo.org/qgis/trunk@4962 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2ba5604 commit 45a885f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/gui/qgisapp.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,6 @@ void QgisApp::createStatusBar()
892892
QPixmap myProjPixmap;
893893
QString myIconPath = QgsApplication::themePath();
894894
myProjPixmap.load(myIconPath+"/mIconProjectionDisabled.png");
895-
qDebug ("Icon disabled projection icon to: " + myIconPath.toLocal8Bit()+"/mIconProjectionDisabled.png");
896895
mOnTheFlyProjectionStatusButton->setPixmap(myProjPixmap);
897896
assert(!myProjPixmap.isNull());
898897
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)
46814680
{
46824681
QPixmap myProjPixmap;
46834682
myProjPixmap.load(myIconPath+"/mIconProjectionEnabled.png");
4684-
qDebug ("Icon disabled projection icon to: " + myIconPath.toLocal8Bit()+"/mIconProjectionEnabled.png");
46854683
assert(!myProjPixmap.isNull());
46864684
mOnTheFlyProjectionStatusButton->setPixmap(myProjPixmap);
46874685
}
46884686
else
46894687
{
46904688
QPixmap myProjPixmap;
46914689
myProjPixmap.load(myIconPath+"/mIconProjectionDisabled.png");
4692-
qDebug ("Icon disabled projection icon to: " + myIconPath.toLocal8Bit()+"/mIconProjectionDisabled.png");
46934690
assert(!myProjPixmap.isNull());
46944691
mOnTheFlyProjectionStatusButton->setPixmap(myProjPixmap);
46954692
}

src/gui/qgsmapcanvas.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,9 @@ void QgsMapCanvas::moveCanvasContents(bool reset)
10391039
QPoint pnt(0,0);
10401040
if (!reset)
10411041
pnt += mCanvasProperties->mouseLastXY - mCanvasProperties->rubberStartPoint;
1042+
#ifdef QGISDEWBUG
10421043
std::cout << "moveCanvasContents: pnt " << pnt.x() << "," << pnt.y() << std::endl;
1044+
#endif
10431045

10441046
mMap->setPanningOffset(pnt);
10451047

0 commit comments

Comments
 (0)