From 75989738244fef4bdd53ae69cda8b67f8fff475a Mon Sep 17 00:00:00 2001 From: edouard Date: Thu, 23 Sep 2010 20:17:17 +0000 Subject: [PATCH] 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 --- ground/src/plugins/dial/dialgadgetwidget.cpp | 6 +++--- ground/src/plugins/lineardial/lineardialgadgetwidget.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ground/src/plugins/dial/dialgadgetwidget.cpp b/ground/src/plugins/dial/dialgadgetwidget.cpp index 8cf2106d5..0a88bb382 100644 --- a/ground/src/plugins/dial/dialgadgetwidget.cpp +++ b/ground/src/plugins/dial/dialgadgetwidget.cpp @@ -84,7 +84,7 @@ void DialGadgetWidget::connectNeedles(QString object1, QString nfield1, if (!(object1.isEmpty() || nfield1.isEmpty())) { obj1 = dynamic_cast( 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( 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( 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 { diff --git a/ground/src/plugins/lineardial/lineardialgadgetwidget.cpp b/ground/src/plugins/lineardial/lineardialgadgetwidget.cpp index 1c576ddc9..362871ea2 100644 --- a/ground/src/plugins/lineardial/lineardialgadgetwidget.cpp +++ b/ground/src/plugins/lineardial/lineardialgadgetwidget.cpp @@ -70,7 +70,7 @@ void LineardialGadgetWidget::connectInput(QString object1, QString nfield1) { ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance(); UAVObjectManager *objManager = pm->getObject(); - 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())) {