1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

Removed useless debug output from the dials plugins, to make GCS less verbose.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1726 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2010-09-23 20:17:17 +00:00 committed by edouard
parent 7125378cae
commit 7598973824
2 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ void DialGadgetWidget::connectNeedles(QString object1, QString nfield1,
if (!(object1.isEmpty() || nfield1.isEmpty())) {
obj1 = dynamic_cast<UAVDataObject*>( objManager->getObject(object1) );
if (obj1 != NULL ) {
qDebug() << "Connected Object 1 (" << object1 << ").";
// qDebug() << "Connected Object 1 (" << object1 << ").";
connect(obj1, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(updateNeedle1(UAVObject*)));
field1 = nfield1;
} else {
@ -96,7 +96,7 @@ void DialGadgetWidget::connectNeedles(QString object1, QString nfield1,
if (!(object2.isEmpty() || nfield2.isEmpty())) {
obj2 = dynamic_cast<UAVDataObject*>( objManager->getObject(object2) );
if (obj2 != NULL ) {
qDebug() << "Connected Object 2 (" << object2 << ").";
// qDebug() << "Connected Object 2 (" << object2 << ").";
connect(obj2, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(updateNeedle2(UAVObject*)));
field2 = nfield2;
} else {
@ -108,7 +108,7 @@ void DialGadgetWidget::connectNeedles(QString object1, QString nfield1,
if (!(object3.isEmpty() || nfield3.isEmpty())) {
obj3 = dynamic_cast<UAVDataObject*>( objManager->getObject(object3) );
if (obj3 != NULL ) {
qDebug() << "Connected Object 3 (" << object3 << ").";
// qDebug() << "Connected Object 3 (" << object3 << ").";
connect(obj3, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(updateNeedle3(UAVObject*)));
field3 = nfield3;
} else {

View File

@ -70,7 +70,7 @@ void LineardialGadgetWidget::connectInput(QString object1, QString nfield1) {
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
UAVObjectManager *objManager = pm->getObject<UAVObjectManager>();
qDebug() << "Lineardial Connect needles - " << object1 << "-"<< nfield1;
// qDebug() << "Lineardial Connect needles - " << object1 << "-"<< nfield1;
// Check validity of arguments first, reject empty args and unknown fields.
if (!(object1.isEmpty() || nfield1.isEmpty())) {