Skip to content
Permalink
Browse files
removing qDebug() from compass plugin
  • Loading branch information
mbernasocchi committed Mar 28, 2012
1 parent 48a0612 commit 38ea8ea9cce709521448f43c0895b3d330ebd790
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/plugins/compass/compass.cpp
@@ -18,6 +18,7 @@
***************************************************************************/

#include "compass.h"
#include "qgslogger.h"

Compass::Compass()
{
@@ -61,7 +62,7 @@ bool Compass::start()
mSensor.start();
if ( !mSensor.isActive() )
{
qDebug() << "Compasssensor didn't start!" << endl;
QgsDebugMsg( "Compasssensor didn't start!" );
return false;
}
return true;
@@ -72,7 +73,7 @@ bool Compass::stop()
mSensor.stop();
if ( mSensor.isActive() )
{
qDebug() << "Compasssensor didn't stop!" << endl;
QgsDebugMsg( "Compasssensor didn't stop!" );
return false;
}
return true;

0 comments on commit 38ea8ea

Please sign in to comment.